Own templates

Author Message

Paul Peters

Tuesday 29 June 2004 10:36:05 am

Hello,

Excuse me for my poor English, but it isn't my native language. I'm trying to override the default templates according to the manual, but it doesn't make a lot of sense to me. Does anyone have a example available for me so that i can download that one and can see what it does?

TIA,

Paul

Maarten Holland

Wednesday 30 June 2004 7:57:26 am

Paul,

What are you trying to override (the general, main layout or perhaps the layout for a specific class like a Folder or Article)?

Which documentation did you follow and what is going wrong? What kind of example do you need?

Did you read the tutorial at http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/setting_up_the_main_layout/creating_a_barebone_main_template? It shows you the basic principles.

Cheers,

Maarten

Paul Peters

Sunday 04 July 2004 7:30:57 am

Thanks Maarten, i've missed that part. It working now.

TIA,

Paul

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 07:10:38
Script start
Timing: Jan 19 2025 07:10:38
Module start 'layout'
Timing: Jan 19 2025 07:10:38
Module start 'content'
Timing: Jan 19 2025 07:10:40
Module end 'content'
Timing: Jan 19 2025 07:10:40
Script end

Main resources:

Total runtime1.5021 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.0088 589.0313152.6094
Module start 'layout' 0.00880.0045 741.640639.4141
Module start 'content' 0.01331.4876 781.0547464.6875
Module end 'content' 1.50090.0012 1,245.74228.1953
Script end 1.5021  1,253.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2450160.0002
Check MTime0.00170.1160160.0001
Mysql Total
Database connection0.00090.060410.0009
Mysqli_queries1.455996.9203570.0255
Looping result0.00060.0408550.0000
Template Total1.450396.520.7251
Template load0.00210.141920.0011
Template processing1.448196.406020.7241
Template load and register function0.00020.015110.0002
states
state_id_array0.00180.121910.0018
state_identifier_array0.00190.125020.0009
Override
Cache load0.00180.1179180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.057620.0004
Fetch class attribute name0.00120.077330.0004
XML
Image XML parsing0.00020.014120.0001
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0505100.0001
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs