Thursday 06 January 2011 2:43:37 am
Hi, I need to pass on variable from pagelayout.tpl to all templates. I have something like this in top of pagelayout.tpl : If current_page type is X
$var=current_page.valueA
Else
get $var
I tried to use global variable with
<u>to set value</u>
{def $var="x"}
{set scope="global" $var="x"}
<u>to get value</u>
{$#var} but this not running... Any idea ? And is it possible to make session variable with eZPublish ?
|