Forums / Developer / Create a variable befor calling $module_result.content / Comment66955
Ivo Lukac
Monday 28 March 2011 2:22:13 am
The pagelayout.tpl template calls pagelayout_main.tpl and this shows $module_result.content.
$module_result.content shows 2zoneslayout1.tpl, but I want to send a variable to 2zoneslayout1.tpl template.
Yes, it seems like it this in that order but actually it is not. Like I said, module is called first which produces $module_result variable. After that the pagelayout is called. And the $module_result.content variable is used.
So you can't do what you want directly.
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac