Help template no override

Author Message

Berardo Matè

Saturday 27 March 2004 2:53:30 am

Hi to all,
i've write my own template but does don't override pagelayout.tpl. I've also setup rights to chmod 666 for file but nothing. I want to create a new welcome page with a little bit different layout.
I'm usign eZ Publish 3.2.
Any ideas?

Many thanks

Maarten Holland

Wednesday 31 March 2004 2:30:11 am

You shoudn't override pagelayout.tpl directly. Instead create a new page in /design/yourdesign/override/templates/mywelcompage.tpl. You can accomplish this in different ways. The easiest is to create the directory and chmod 'override' 777. Then login to your admininterface and go to Setup, Templates. Click on /node/view/full. Select your design and press Set if neccesary.

Now you have to select when the override template must be used. Your rootnode (or topnode or frontpage) probably has node-id 2. Enter 2 in field 'node id' and type the desired name for your template (in my example 'mywelcomepage').

Correct pagelayout.tpl, clear your cache, reload your frontpage and enjoy your new frontpage!

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 22:31:07
Script start
Timing: Jan 18 2025 22:31:07
Module start 'layout'
Timing: Jan 18 2025 22:31:07
Module start 'content'
Timing: Jan 18 2025 22:31:08
Module end 'content'
Timing: Jan 18 2025 22:31:08
Script end

Main resources:

Total runtime0.6895 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.0102 587.9141152.6250
Module start 'layout' 0.01020.0046 740.539139.4453
Module start 'content' 0.01480.6733 779.9844457.3594
Module end 'content' 0.68810.0014 1,237.34388.1641
Script end 0.6895  1,245.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4735160.0002
Check MTime0.00150.2144160.0001
Mysql Total
Database connection0.00270.397810.0027
Mysqli_queries0.644193.4062540.0119
Looping result0.00060.0833520.0000
Template Total0.642393.120.3212
Template load0.00180.266020.0009
Template processing0.640592.880620.3202
Template load and register function0.00010.021010.0001
states
state_id_array0.00260.379810.0026
state_identifier_array0.00180.263420.0009
Override
Cache load0.00150.2111120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.099520.0003
Fetch class attribute name0.00100.146820.0005
XML
Image XML parsing0.00020.034020.0001
class_abstraction
Instantiating content class attribute0.00000.001320.0000
General
dbfile0.00060.0925100.0001
String conversion0.00000.001640.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs