insert a footer with content from a node

Author Message

Alexandre Cunha

Monday 16 October 2006 5:39:05 am

Hello,

I want create a footer for a site with logos linkinh to externa sites and link texts like "site map" and "contact us".

Instead of create a template file and include it on the main pagelayout.tpl, I what use a content node. In this content node the the editor can design the footer they want.

Ive tryed use the toolbar feature and include in the <Toolbar_bottom> a node_list pointing to the content. But this doest get the result I want.

Someone have do this and can help me ?

thanks

http://AlexandreCunha.com

Tore Skobba

Monday 16 October 2006 7:37:02 am

Hmm why dont you create an object which only has an xml text field and name, then fetch that object on the node id and display it in the footer?

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 11:46:22
Script start
Timing: Jan 18 2025 11:46:22
Module start 'layout'
Timing: Jan 18 2025 11:46:22
Module start 'content'
Timing: Jan 18 2025 11:46:23
Module end 'content'
Timing: Jan 18 2025 11:46:23
Script end

Main resources:

Total runtime0.5986 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.0066 589.1797152.6406
Module start 'layout' 0.00660.0023 741.820339.4766
Module start 'content' 0.00890.5884 781.2969484.0234
Module end 'content' 0.59730.0013 1,265.32038.1250
Script end 0.5985  1,273.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4957160.0002
Check MTime0.00120.2004160.0001
Mysql Total
Database connection0.00080.133310.0008
Mysqli_queries0.560193.5742540.0104
Looping result0.00060.0989520.0000
Template Total0.566094.620.2830
Template load0.00160.270820.0008
Template processing0.564494.288720.2822
Template load and register function0.00020.039610.0002
states
state_id_array0.00140.241610.0014
state_identifier_array0.00140.227420.0007
Override
Cache load0.00130.2225110.0001
Sytem overhead
Fetch class attribute can translate value0.00100.161720.0005
Fetch class attribute name0.00120.200020.0006
XML
Image XML parsing0.00020.040620.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.1104100.0001
String conversion0.00000.001240.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/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
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: 4

Time used to render debug report: 0.0001 secs