Set won`t always work; the Scope parameter
If you try to use "set" in an inner scope, it will not update a variable outside that scope without the scope-parameter.
This won`t update the var:
{def $myVar = "one"}
{if (#some test that evaluates to true")}
{set $myVar = "two"}
This however, will:
{def $myVar = "one"}
{if (#some test that evaluates to true")}
{set $myVar = "two" scope="root"}
See this page for more info: http://ez.no/doc/ez_publish/techn...nce/template_functions/variables/set
Hope this saves someone a little time and frustration...
Cheers,
Kjartan