Forums / Setup & design / Datatype Binaryfile display

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Datatype Binaryfile display

Author Message

Enk bila

Wednesday 25 August 2004 6:29:22 am

Hi,

I used a attribut ( datatype BinaryFile) this attribut content a PDF file . In my template file I display this link :

{attribute_view_gui attribute=$item.object.data_map.pdf}

the result is :

A icon + Text link + file size

Please how can I : change the attrin-but icon ( border = O)
Change the texte link

In fact witch tpl or other file control this view

Tnks

Björn X

Wednesday 25 August 2004 3:14:55 pm

look inside the documentation you are looking for a topic called template override

You will want to override the template ezbinaryfile.tpl

http://ez.no/ez_publish/documentation/customization/custom_design/override_templates

Similar sample:
-----override.ini.append-----------
<?php /* #?ini charset="utf8"?

[string_svncomposition_base_edit]
Source=content/datatype/edit/ezstring.tpl
MatchFile=ezstring.tpl
Subdir=templates
Match[class_identifier]=svncomposition
Match[attribute_identifier]=base

*/ ?>