PDF Template: Footer

Author Message

Philip K.

Tuesday 30 October 2007 10:15:01 am

Hi.

In my pdf layout I want to insert a footer block (http://ez.no/doc/ez_publish/technical_manual/3_9/reference/template_pdf_functions/footer_block)
where you can find companies' address, banking data etc.

Has anyone ever tried this with a satisfactorily result?

If I use this code as it is documented:

{set-block name=test scope=global variable=rowdata}
  this is a test
{/set-block}

{pdf( footer_block, hash( block_code, $test:rowdata ) )}

The footer text will be inserted at the top of my pdf file...

Thanks four your help,
Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

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 20:57:26
Script start
Timing: Jan 18 2025 20:57:26
Module start 'layout'
Timing: Jan 18 2025 20:57:26
Module start 'content'
Timing: Jan 18 2025 20:57:27
Module end 'content'
Timing: Jan 18 2025 20:57:27
Script end

Main resources:

Total runtime0.5788 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 587.7891152.6094
Module start 'layout' 0.00540.0038 740.398439.4297
Module start 'content' 0.00920.5682 779.8281464.4531
Module end 'content' 0.57740.0014 1,244.28138.1875
Script end 0.5788  1,252.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5446160.0002
Check MTime0.00130.2216160.0001
Mysql Total
Database connection0.00080.129910.0008
Mysqli_queries0.538693.0436460.0117
Looping result0.00050.0904440.0000
Template Total0.544994.120.2724
Template load0.00210.368920.0011
Template processing0.542793.763320.2714
Template load and register function0.00010.019010.0001
states
state_id_array0.00080.133710.0008
state_identifier_array0.00080.145520.0004
Override
Cache load0.00170.2996130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.083810.0005
Fetch class attribute name0.00070.124620.0004
XML
Image XML parsing0.00040.076010.0004
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.1169160.0000
String conversion0.00000.001940.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs