Is is possible to quickly and (hopefully) easily refer to a template variable from another page? If so, what’s the syntax to do this? I’ve poked around the docs and forums but didn’t find anything.
Thanks,
Owen
Hi,
there are several way to achieve this it depends on your aim.
If you wish to display a single TV from another document you can use getField snippet
You can use ditto as well
:-)
Thanks for the tip.
After looking at some examples, I tried this in a chunk for a sitewide menu:
<li><a href="about">[[getField? &docid=`7` &field=`sectionheader`]]</a></li>
but isn’t returning any value.
&docid is the number to the right of the document name in the file manager, correct? and &field is the TV, I think.
i’ll also dig into the documentation some more.
thanks,
owen