Problem with templates

Author Message

Albert Berenguer

Friday 22 August 2003 10:12:23 am

hi!
i'm using eZ Publish 3.1 and i'm having a problem with templates. When viewing my site, the main template that is always used is "mydesign/templates/pagelayout.tpl" instead of "mydesign/override/templates/pagelayout_section_3.tpl" which is the corresponding to the section wich owns the node that is viewed in my frontpage. The node is assignde to the section and the section templates exists, so i don't know what the problem can be.

thanks, bye!

Alex Jones

Friday 22 August 2003 12:15:51 pm

Albert, have you set up your override templates as described in http://www.ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates ? Note that this is different in 3.1+ than in 3.0.

If you have set them up properly make sure you have cleared all of the caches before checking.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Albert Berenguer

Monday 25 August 2003 9:23:02 am

hi again!,
i didn't know that point about the templates in 3.1+, i'm working in that at this moment, thanks for the help!!

bye

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:40:01
Script start
Timing: Jan 18 2025 22:40:01
Module start 'layout'
Timing: Jan 18 2025 22:40:01
Module start 'content'
Timing: Jan 18 2025 22:40:02
Module end 'content'
Timing: Jan 18 2025 22:40:02
Script end

Main resources:

Total runtime1.9068 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.0072 587.9063152.6250
Module start 'layout' 0.00720.0062 740.531339.4453
Module start 'content' 0.01331.8918 779.9766528.4219
Module end 'content' 1.90510.0017 1,308.39848.1719
Script end 1.9068  1,316.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2146160.0003
Check MTime0.00150.0767160.0001
Mysql Total
Database connection0.00130.067310.0013
Mysqli_queries1.856697.3670570.0326
Looping result0.00060.0333550.0000
Template Total1.863897.720.9319
Template load0.00290.153220.0015
Template processing1.860897.587520.9304
Template load and register function0.00030.014210.0003
states
state_id_array0.00110.055310.0011
state_identifier_array0.00160.082920.0008
Override
Cache load0.00250.1287150.0002
Sytem overhead
Fetch class attribute can translate value0.00080.042320.0004
Fetch class attribute name0.00190.099140.0005
XML
Image XML parsing0.00070.036120.0003
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00090.0484160.0001
String conversion0.00000.000540.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
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs