problem with printer version link

Author Message

Dominik Stoeppel

Wednesday 10 December 2003 7:33:08 am

hi,

I add this to my pagelayout.tpl :
<a href={concat("/layout/set/print/content/view/full/",$node.node_id,"/")|ezurl}">

for the first time its fine, but after browsing through my content, the node id isn't shown any longer.

../layout/set/print/content/view/full//

the same problem using nice urls.

Using the link in the class template it's ok, but in the printer version the link "printer version" is shown.

What things must changed?

thx for help :)

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 19 2025 07:15:10
Script start
Timing: Jan 19 2025 07:15:10
Module start 'layout'
Timing: Jan 19 2025 07:15:10
Module start 'content'
Timing: Jan 19 2025 07:15:11
Module end 'content'
Timing: Jan 19 2025 07:15:11
Script end

Main resources:

Total runtime0.5584 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.0050 589.1797152.6250
Module start 'layout' 0.00500.0023 741.804739.4453
Module start 'content' 0.00730.5495 781.2500400.1172
Module end 'content' 0.55690.0015 1,181.36728.1563
Script end 0.5583  1,189.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5703160.0002
Check MTime0.00130.2323160.0001
Mysql Total
Database connection0.00070.131810.0007
Mysqli_queries0.523493.7475460.0114
Looping result0.00040.0688440.0000
Template Total0.527994.620.2640
Template load0.00180.322820.0009
Template processing0.526194.227220.2631
Template load and register function0.00010.024210.0001
states
state_id_array0.00090.165310.0009
state_identifier_array0.00160.287620.0008
Override
Cache load0.00130.2377120.0001
Sytem overhead
Fetch class attribute can translate value0.00090.160310.0009
Fetch class attribute name0.00050.092810.0005
XML
Image XML parsing0.00010.018610.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.1151100.0001
String conversion0.00000.001540.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs