Smarty in Template page vars
Posted: Tue Aug 26, 2008 10:09 am
Hi All,
I use the webshop module (esshop) and I want to set a differtent for every category. There are 2 cats at the moment so I wanted to do this in the Main Template with Smarty.
But this doesn't work
{if page eq Webshop}
{if CategoryID eq 1)
Something
{else}
Something else
{/if}
{else}
{sitename} - {title}
{/if}
Is there a way I van findout which vars are known by smarty when parsing the template?
I use the webshop module (esshop) and I want to set a differtent for every category. There are 2 cats at the moment so I wanted to do this in the Main Template with Smarty.
But this doesn't work
{if page eq Webshop}
{if CategoryID eq 1)
Something
{else}
Something else
{/if}
{else}
{sitename} - {title}
{/if}
Is there a way I van findout which vars are known by smarty when parsing the template?