Forums / Developer / Pagelayout variable / Comment66468

Author Topic

Fou Jino

Tuesday 08 March 2011 8:29:43 am

Comment66468

Ok, in fact I think that I give you a bad explained

My pagelayout.tpl receive a value that I have to use in others template :

pagelayout.tpl :

[...]

<div id="content">

{$module_result.content}

</div>

[...]

At the level {$module_result.content}, I have for example homepage.tpl :

<div class="my-box">

[...]

{if $var=[...]}

{/if}

[...]

</div>

Thus, I want to give the variable $var from the pagelayout.tpl.

Foujino ~ http://www.foujino-blog.be