Forums / Setup & design / Variable visibility through templates / Comment22291
Stefano Guandalini
Thursday 15 June 2006 8:40:44 am
HEEEEEEEELP!
I really cannot understand why it works (but it works).
This one:
{set-block scope=global variable=loaded}true{/set-block} {if is_set( $loaded )} {include uri=concat('design:section', $node.object.section_id, '/column1.tpl')} {/if}
The first time the template is loaded variable $loaded is correctly set, subsequent times it does not.Is it a <i>feature</i>? (Or a bug?) ;-)
g
Stefano Guandalini http://www.nizan.net