Tuesday 26 December 2006 2:04:06 am
Hi Sebastien Just have a look at the template for ezbinary, there you can see how to create a link for downloading a binary file. The result should look roughly like this (not tested at all):
<a title="Télécharger {attribute_view_gui attribute=$p.data_map.titre} - (clic droit, puis Enregistrer la cible sous)"
href={concat("content/download/",$p.data_map.son.contentobject_id,"/",$p.data_map.son.id,"/file/",$p.data_map.son.content.original_filename)|ezurl}
style="margin-right:3px;width:30px;height:30px;float:right;display:block;">
{$p.data_map.son.content.original_filename|wash(xhtml)}</a>
Claudia
|