I used the media type and it works nicely...
This is what my test template looked:
{default content_object=$node.object
content_version=$node.contentobject_version_object
node_name=$node.name}
<div align="center">
<table width="80%" border="0">
{section name=ContentObjectAttribute loop=$content_version.contentobject_attributes}
<tr>
{switch match=$ContentObjectAttribute:item.is_a}
{case match=ezstring}
<td class="NewsTitle"><br><br>{attribute_view_gui attribute=$ContentObjectAttribute:item}<br></td>
{/case}
</tr>
<tr>
{case}
<td><br>{attribute_view_gui attribute=$ContentObjectAttribute:item}</object><br></td>
{/case}
{/switch}
</tr>
{/section}
</table><br><br>
</div> {/default}
The switch is there because in my FlashTest Class I have to attributes: Text Line(Title) and Flash Mediatype...
Regards, Jerry
You must be logged in to post messages in this topic!