slushpuppeh Posted August 14, 2017 Share Posted August 14, 2017 Hi, Are there any ips:template documentations? Thanks Link to comment Share on other sites More sharing options...
newbie LAC Posted August 14, 2017 Share Posted August 14, 2017 Hello, What do you want to know? <ips:template parameters="$var1, $var2" /> HTML code here {$var1} PHP $var1 = 'Hello'; $var2 = 'Goodbye'; \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate('%group%', '%application%', '%location%')->templateName($var1, $var2); Link to comment Share on other sites More sharing options...
bfarber Posted August 14, 2017 Share Posted August 14, 2017 The first line is a special line that denotes the parameters passed in to the template. You can read a little more about it in our designers mode dev documents article here: The rest of the file is simply the template content as you would see in the ACP template editor. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.