Thursday 18 September 2003 5:33:28 am
Hi all,
I'm trying to get the content class ID from stuff i fetched in a template. I can find similar php code but not a template example/docs. Here is what i'm trying to do:
{section name=Thing loop=$stuff_i_fetched}
{switch match=$Thing:item.???????????}
{case match=x}
Thing is of contentclass with ID x so we do this ....
{/case}
{case}
else we do the default
{/case}
{/switch} {/section} Anyone can replace the question marks with what i am looking for?
TIA vanne
|