Friday 16 July 2004 9:36:31 am
I think you have mixed a couple of tags that should be separate. Try something like this:
<tr>
{sequence name=Seq loop=array(tanbg,tanbg,lightbluebg,lightbluebg)}
{section name=Rows loop=$matrix.rows.sequential}
<td class="{$:sequence}">
{section name=Columns loop=$Rows:item.columns}
{$Rows:Columns:item|wash(xhtml)}
{sequence name=Seq}
{delimiter}
</td>
<td class="{$:sequence}">
{/delimiter}
{/section}
</td>
{delimiter}
</tr>
<tr>
{/delimiter}
{/section}
</tr>
The code may not be perfect, but it should get you closer.
<b>Related Documentation</b>
Complext List with Colors: http://ez.no/ez_publish/documentation/customization/custom_design/examples/common_template_issues/complex_list_with_colours Sequence: http://ez.no/ez_publish/documentation/development/libraries/ez_template/functions/sequence
Alex
bald_technologist on the IRC channel: #eZpublish http://www.agrussell.com :: http://www.cuttingedge.com
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|