Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
August 14, 20177 yr 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);
August 14, 20177 yr 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.
Archived
This topic is now archived and is closed to further replies.