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 Dieding@xrow.de

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

*/ ?>

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 07:33:22
Script start
Timing: Jan 31 2025 07:33:23
Module start 'layout'
Timing: Jan 31 2025 07:33:23
Module start 'content'
Timing: Jan 31 2025 07:33:23
Module end 'content'
Timing: Jan 31 2025 07:33:23
Script end

Main resources:

Total runtime0.0142 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.1328151.2109
Module start 'layout' 0.00460.0027 739.343836.6484
Module start 'content' 0.00730.0055 775.992290.1406
Module end 'content' 0.01280.0014 866.132829.9922
Script end 0.0142  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.5560140.0002
Check MTime0.00107.3373140.0001
Mysql Total
Database connection0.00053.824810.0005
Mysqli_queries0.002517.453330.0008
Looping result0.00000.077210.0000
Template Total0.00107.110.0010
Template load0.00085.471910.0008
Template processing0.00021.564810.0002
Override
Cache load0.00064.001110.0006
General
dbfile0.00118.049280.0001
String conversion0.00000.055440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs