Problem to insert a flash file on the public side

Problem to insert a flash file on the public side

Wednesday 04 June 2003 7:15:11 am - 2 replies

Author Message

Paul Borgermans

Saturday 07 June 2003 5:36:05 am

What datatype are you using for your flash file? You should use the media datatype and make sure you have the correct url operators in your templates.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jerry Jalava

Wednesday 18 June 2003 3:21:47 am

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!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.