tooth-paste Posted December 20, 2015 Share Posted December 20, 2015 This is a absolute beginners question I'am afraid. How do I call the value of a field from another template? echo "$fields->get('template=home')->home_tekst_8"; Link to comment Share on other sites More sharing options...
SiNNuT Posted December 20, 2015 Share Posted December 20, 2015 For fields you can get stuff like names, id, labels and such but not content values. For that you need to get a page by id, path or selector. Something like this: echo $pages->get('/')->home_tekst_8; 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now