Author Topic

Thiago Campos Viana

Monday 31 January 2011 8:21:47 am

Comment65411

Hi Anaya

First you need to check if you assigned the variable to a template variable, If yes you could use {$varName|attrbiute(show,1)} to show if your var has the right content, then you could just show the content in this way:

{foreach $varName as $value}

<div>

{$value.sLegType} - {$value.ClassInfo[0].sCPS} {$value.ClassInfo[1].sCPS} -

</div>

{/foreach}

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br