how to get path for specific flash file

how to get path for specific flash file

Monday 30 July 2007 3:25:05 pm - 2 replies

Modified on Monday 30 July 2007 3:26:26 pm by John Mina

Author Message

Bruce Morrison

Monday 30 July 2007 4:42:35 pm

Hi John

Try

...
{def $n=fetch(content,node,hash(node_id,181))}
{def $attribute=$n.object.data_map.file}
...
<param name="movie" value={concat("content/download/",$attribute.contentobject_id,"/",$attribute.content.contentobject_attribute_id,"/",$attribute.content.original_filename)|ezurl} />
...

If you still have trouble can you post the resulting HTML so we can see if there are any clues there.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

John Mina

Tuesday 31 July 2007 12:10:46 am

hello Bruce,
this Code is smart thanks :)
I used it in the embed and the < param movie part

and tit works now perfect as it should be
Thanks again ,
all the best

If you have any further tips on how do some one can think of making that code to construct and use it in future, let me know plz
thanks
John

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.