Forums / Setup & design / insert a footer with content from a node

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?

eZ debug

Timing: Jan 30 2025 19:35:07
Script start
Timing: Jan 30 2025 19:35:07
Module start 'content'
Timing: Jan 30 2025 19:35:07
Module end 'content'
Timing: Jan 30 2025 19:35:07
Script end

Main resources:

Total runtime0.0329 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.0625370.2734
Module start 'content' 0.00770.0154 958.33591,001.3750
Module end 'content' 0.02310.0097 1,959.710970.7031
Script end 0.0328  2,030.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00278.3049120.0002
Check MTime0.00113.2092120.0001
Mysql Total
Database connection0.00072.095110.0007
Mysqli_queries0.003711.354140.0009
Looping result0.00000.042720.0000
Template Total0.009027.410.0090
Template load0.00113.336610.0011
Template processing0.007924.020710.0079
Override
Cache load0.00072.155910.0007
General
dbfile0.005215.6564100.0005
String conversion0.00000.023930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs