Template help...

Author Message

StoneFly Techonology

Friday 09 May 2003 3:39:02 pm

I need help learning to customize templates. I need a step-by-step breakdown of making custom pages. Any help would be much appreciated

Huib Kleinhout

Friday 09 May 2003 11:50:06 pm

There are tutorials on templates in the SDK documentation section http://ez.no/sdk
Check http://ez.no/developer/ez_publish_3/documentation for more support

Katie D

Sunday 11 May 2003 9:49:17 am

I customised demo first to get the hang of it.
In demo/override/templates I customised them first.
i.e. for the news page I customised pagelayout_section_3.tpl
and to customise the classes I did it in demo too.

You will also need to customise in demo/override/templates/nodes/view
for the news it is the # 2.tpl (full and line)

hope this helps

Katie

StoneFly Techonology

Monday 12 May 2003 3:27:07 pm

thanks all

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 04:23:06
Script start
Timing: Jan 18 2025 04:23:06
Module start 'layout'
Timing: Jan 18 2025 04:23:06
Module start 'content'
Timing: Jan 18 2025 04:23:07
Module end 'content'
Timing: Jan 18 2025 04:23:07
Script end

Main resources:

Total runtime0.8283 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.9219152.6094
Module start 'layout' 0.00570.0032 741.531339.4141
Module start 'content' 0.00890.8178 780.9453543.5156
Module end 'content' 0.82680.0015 1,324.460912.1875
Script end 0.8283  1,336.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4094160.0002
Check MTime0.00130.1630160.0001
Mysql Total
Database connection0.00070.087010.0007
Mysqli_queries0.779394.0876620.0126
Looping result0.00070.0857600.0000
Template Total0.795596.020.3978
Template load0.00210.247820.0010
Template processing0.793495.788820.3967
Template load and register function0.00040.044910.0004
states
state_id_array0.00100.120310.0010
state_identifier_array0.00140.171820.0007
Override
Cache load0.00170.2084190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.093930.0003
Fetch class attribute name0.00120.143650.0002
XML
Image XML parsing0.00090.111930.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00100.1218160.0001
String conversion0.00000.001340.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs