Thursday 15 March 2007 4:20:23 pm
Thanks a lot Claudia, The two working syntaxes are:
<section name=ContentObjectAttribute loop=$object.contentobject_attributes>
<if eq($ContentObjectAttribute:item.contentclass_attribute.identifier,body)>
<attribute_view_gui attribute=$ContentObjectAttribute:item>
</if>
</section>
and:
{foreach $object.contentobject_attributes as $ContentObjectAttribute}
{if eq($ContentObjectAttribute.contentclass_attribute.identifier,body)}
{attribute_view_gui attribute=$ContentObjectAttribute}
{/if}
{/foreach}
So we have to:
- permutate "ContentObjectAttribute" and "object.contentobject_attributes" - remove ":item" Regards Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
|