Last active
October 16, 2018 13:13
-
-
Save shabaz-ejaz/1b27e0dd03ca6dddbceb2fb4e84d8dc1 to your computer and use it in GitHub Desktop.
Global template variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To set a global template variable create one for the homepage template and access it anywhere like this: | |
[[getImageList? | |
&tvname=`footerServicesProvidedLinks` | |
&tpl=`footerServicesProvidedLinkItem.tpl` | |
&docid=`1` | |
]] | |
The &docid=`1` is accessing the TV from the homepage (homepage has id = 1) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment