custom template "embed-line"

Author Message

Jacks JNK

Monday 22 September 2008 12:59:34 am

Hi everyone,
I have a problem: I want my custom template "embed-line so that I see the link to download the associated pdf.

By default, the template is as follows:


{default attribute_parameters=array()}
{section show=$object.main_node_id|null|not}
   <a href={$object.main_node.url_alias|ezurl}>{$object.name|wash}</a>
{section-else}
    {$object.name|wash}
{/section}
{/default}

Skype : jacks_ngala

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 14:51:45
Script start
Timing: Jan 18 2025 14:51:45
Module start 'layout'
Timing: Jan 18 2025 14:51:45
Module start 'content'
Timing: Jan 18 2025 14:51:46
Module end 'content'
Timing: Jan 18 2025 14:51:46
Script end

Main resources:

Total runtime0.6742 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0391152.6250
Module start 'layout' 0.00540.0027 741.664139.4453
Module start 'content' 0.00800.6649 781.1094461.5859
Module end 'content' 0.67290.0013 1,242.69538.1641
Script end 0.6742  1,250.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4767160.0002
Check MTime0.00140.2044160.0001
Mysql Total
Database connection0.00090.134110.0009
Mysqli_queries0.633493.9465460.0138
Looping result0.00040.0583440.0000
Template Total0.642495.320.3212
Template load0.00220.330020.0011
Template processing0.640194.944520.3201
Template load and register function0.00010.018210.0001
states
state_id_array0.00170.250110.0017
state_identifier_array0.00140.212220.0007
Override
Cache load0.00180.266080.0002
Sytem overhead
Fetch class attribute can translate value0.00060.087110.0006
Fetch class attribute name0.00070.105920.0004
XML
Image XML parsing0.00290.427910.0029
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00300.4501160.0002
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs