Saturday 28 October 2006 4:05:14 am
Hi there, In my pagelayout, I am defining a variable.
{def $myvar=''}
{set scope='global' $myvar='myvar'}
...
{$module_result.content}
The full/folder.tpl called when I view a folder in view full, contains this (it is an override templates of node/view/full.tpl)
<h3>{$#myvar}</h3>
The problem is that this doesn't work and do not display anything. I Don't know if it is a bug or a misunderstanding of the scope concept from myself. Can someone help me and let me know how to retrieve a variable defined in pagelayout.tpl inside .tpl that are call from the {$module_result.content} ?
Thanks, K.
|