Link to file

Author Message

Daniele Cacace

Thursday 09 June 2005 7:59:05 am

I must insert in node/line/line_file.tpl (ez 3.3) an image with link the physicist to pdf file! What tightens of commando must insert?

Ɓukasz Serwatka

Sunday 12 June 2005 6:23:32 am

Hi Daniele,

What exacly you want to do? Maybe this will be usefull?

http://www.ez.no/community/forum/setup_design/creating_a_link_to_a_file_for_download
http://www.ez.no/community/forum/developer/how_to_display_file_name_and_url

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 18 2025 22:17:34
Script start
Timing: Jan 18 2025 22:17:34
Module start 'layout'
Timing: Jan 18 2025 22:17:34
Module start 'content'
Timing: Jan 18 2025 22:17:36
Module end 'content'
Timing: Jan 18 2025 22:17:36
Script end

Main resources:

Total runtime1.5486 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.9219152.6094
Module start 'layout' 0.00680.0063 741.531339.4141
Module start 'content' 0.01301.5340 780.9453531.1484
Module end 'content' 1.54710.0015 1,312.09388.1953
Script end 1.5486  1,320.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2285160.0002
Check MTime0.00150.0946160.0001
Mysql Total
Database connection0.00090.060110.0009
Mysqli_queries1.503097.0512540.0278
Looping result0.00060.0386520.0000
Template Total1.502797.020.7513
Template load0.00180.113320.0009
Template processing1.500996.920420.7505
Template load and register function0.00010.006110.0001
states
state_id_array0.00120.080310.0012
state_identifier_array0.00130.085820.0007
Override
Cache load0.00140.0887110.0001
Sytem overhead
Fetch class attribute can translate value0.00060.036720.0003
Fetch class attribute name0.00160.106140.0004
XML
Image XML parsing0.00100.061620.0005
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00190.1195240.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs