Quote:
Originally Posted by jherzog
...
Code:
{assign var="VarName" value="MyValue"}
and the wish to call that variable in a different tpl that is loaded later it does not seem to be there.
...
|
You need to explicitly pass variables to included tpl files like this:
Code:
{include file="another.tpl" var2=$VarName}
This will make $VarName from the main tpl available as $var2 in the included tpl.