override the pagelayout

Author Message

justin kazadi

Tuesday 05 August 2008 3:52:49 am

hello all,
i have two question. fisrt i want to know how to override the pagelayout.tpl and secondly i want to know the importance of the tempate look class in ez publish.
thanks in advance

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Felix Laate

Tuesday 05 August 2008 5:51:33 am

Hi,

for info about the override system, read this:

http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_template_override_system

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

justin kazadi

Tuesday 05 August 2008 6:30:44 am

thanks ,
i have a custom design repository for my web site so my custom pagelayout are used .but why ezdebug says that not override for pagelayout?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

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 01:10:58
Script start
Timing: Jan 19 2025 01:10:58
Module start 'layout'
Timing: Jan 19 2025 01:10:58
Module start 'content'
Timing: Jan 19 2025 01:10:59
Module end 'content'
Timing: Jan 19 2025 01:10:59
Script end

Main resources:

Total runtime1.0249 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 590.2656152.6250
Module start 'layout' 0.00590.0032 742.890639.4453
Module start 'content' 0.00911.0143 782.3359535.5391
Module end 'content' 1.02340.0015 1,317.875012.1719
Script end 1.0249  1,330.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3315160.0002
Check MTime0.00140.1348160.0001
Mysql Total
Database connection0.00080.078010.0008
Mysqli_queries0.973394.9609570.0171
Looping result0.00060.0542550.0000
Template Total0.989496.520.4947
Template load0.00200.194120.0010
Template processing0.987496.339720.4937
Template load and register function0.00010.012110.0001
states
state_id_array0.00150.148910.0015
state_identifier_array0.00140.138320.0007
Override
Cache load0.00170.1622170.0001
Sytem overhead
Fetch class attribute can translate value0.00100.094320.0005
Fetch class attribute name0.00160.151450.0003
XML
Image XML parsing0.00110.106820.0005
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00200.1931220.0001
String conversion0.00000.000940.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs