Share » Forums » General » How to open the pdf added to a xml bloc

How to open the pdf added to a xml bloc

How to open the pdf added to a xml bloc

Thursday 23 October 2008 7:51:11 am - 1 reply

Modified on Thursday 23 October 2008 7:53:01 am by Jacks JNK

Author Message

Yannick Komotir

Friday 24 October 2008 3:46:57 am

hi, in the tpl of your tag try to add a condition for pdf with a link like this

<a href=/content/download/{$my_node.object.data_map.file.contentobject_id}/{$my_node.object.data_map.file.id}/file/{$my_node.object.data_map.file.content.original_filename }>{$content|wash( xhtml )}</a>

I don't remember the link of the post where i saw this

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu