Wednesday 04 March 2009 9:00:32 am
Hello, its me once again. How can I access $module_result from outside the pagelayout.tpl template. I have a override template in which I have to switch between two views My override template full/filedownload.tpl has the following code.
{if $module_result.section_id | eq("15")}
<div>{attribute_view_gui attribute=$object.contentobject_attributes[1] view="ezbinaryfilelist"}</div>
{else}
<div>{attribute_view_gui attribute=$object.contentobject_attributes[1] view="ezbinaryfile"}</div>
{/if}
or which other method is avaiable to fetch the current section_id thank you.
|