Monday 26 May 2003 1:05:32 am
Hello at all.
I have a difficult problem with showing the path of an binary file in my result-page.
The authors have to include a Flash-Movie into their articles.
My problem is to show the complete URI of that movie in the Object's Param-Tag:
<object ... >
<param name="movie" value="..."> ...</object>
I tried this: [I've copied it from the ezbinaryfile.tpl and modified it]
...
<param name="movie" value={let attribute=$node.data_map.animation:item}{$attribute.content.filepath|ezroot}{/let}"> ...
I moved:
{$attribute.content.filepath|ezroot}
to an external template [binaryfile_uri.tpl] and included it that way: {node_view_gui view=binaryfile_uri content_node=$node.data_map.animation:item}
But in both cases this won't work: the returned path is not valid. Have anyone an idea? Thanks. PS: Sorry for my bad english. :)
|