Monday 10 July 2006 6:49:15 am
Well..., Now, to display the article related objects I use (in my article template):
{section show=$node.object.data_map.image.content.is_empty|not}
{attribute_view_gui attribute=$node.object.data_map.image}
{/section}
where "image" is the related object datatype identifier.
This code display the Name of the related file, the real name of the uploaded file and its size. But I don't control the display of these informations. In my database I found the "binaryfile" table which contains:
contentobject_attribute_id 5558
download_count 0
filename db2ba3f72b6de829fc869b0ed30f3b6c.pdf
mime_type application/pdf
original_filename AU_Argentine_harcelement_10-avril-2006.pdf
version 1
I found the ezbinaryfile doc: http://ez.no/doc/ez_publish/technical_manual/3_7/reference/objects/ezbinaryfile How can I access these fields ? Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
|