Forums / Developer / $module_result variable / Comment66584
Marko Žmak
Monday 14 March 2011 11:04:17 am
It also depends on the template in which you are trying to use the $module_result variable, It's available only in pagelayout.tpl.
So if you put this:
{$module_result|attribute(show)}
in your pagelayout.tpl it will output all the attributes (and their values) of the $module_result variable. But if you put this code in override templates, you'll get nothing.
Also note that not all modules have view parameters.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth