Monday 23 August 2004 10:30:31 am
I'm not sure if this will work or not, as the Matrix datatype I am using is a bit old, and modified, but you never know... I have an override template for a Matrix that display product specs. While I don't use a table, it should provide you an idea of hot to accomplish your goals.
{let matrix=$attribute.content}
{section loop=$matrix.rows.sequential}
{section show=$:item.columns.1} {* Show the field's value *}
<div class="Specification">
<div class="SpecName">
{$:item.columns.0}
</div>
<div class="SpecResult">
{$:item.columns.1}
</div>
</div>
{/section}
{/section}
{/let}
I call it from my class override template with: {attribute_view_gui attribute=$content_version.data_map.item_1_specifications_construction}
Hope this helps, Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|