3.1 beta section problem

Author Message

Felix Laate

Friday 30 May 2003 3:35:53 am

Hi all,

3.1 looks great, but I have a "small" problem:

I can't get the sections-bit to work. I've tried this:

[pagelayout_name]
Source=pagelayout.tpl
MatchFile=pagelayout_name.tpl
Subdir=templates
Match[section]=3

BUT, the pagelayout.tpl is the template that is shown..

Any help appreciated!

:-) Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Bård Farstad

Friday 30 May 2003 10:25:47 am

You need to clear the override cache before the new override templates will work. This can be done with the script bin/shell/clearcache.sh

--bård

Documentation: http://ez.no/doc

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:55:42
Script start
Timing: Jan 18 2025 04:55:42
Module start 'layout'
Timing: Jan 18 2025 04:55:42
Module start 'content'
Timing: Jan 18 2025 04:55:43
Module end 'content'
Timing: Jan 18 2025 04:55:43
Script end

Main resources:

Total runtime0.9463 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.0062 587.9063152.6250
Module start 'layout' 0.00620.0032 740.531339.4297
Module start 'content' 0.00940.9354 779.9609528.0313
Module end 'content' 0.94480.0015 1,307.99228.1797
Script end 0.9463  1,316.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3537160.0002
Check MTime0.00140.1457160.0001
Mysql Total
Database connection0.00120.130310.0012
Mysqli_queries0.898094.8915540.0166
Looping result0.00060.0660520.0000
Template Total0.910396.220.4552
Template load0.00190.201220.0010
Template processing0.908495.992120.4542
Template load and register function0.00010.010710.0001
states
state_id_array0.00110.120510.0011
state_identifier_array0.00150.161220.0008
Override
Cache load0.00150.1623190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.068820.0003
Fetch class attribute name0.00350.369640.0009
XML
Image XML parsing0.00090.096320.0005
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00120.1319230.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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
1content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs