3.3.1 Override Mechanism

Author Message

Don MacLeod

Wednesday 21 January 2004 7:07:36 am

Is there a difference in the way 3.3 handles override settings or site designs compared to 3.2?

I cannot for example simply change the default pagelayout by entering this into the siteaccess\sitedesign\override.ini.append ....

[pagelayout_custom
Source=pagelayout.tpl
MatchFile=pagelayout_custom
Subdir=templates
Match[section]=4

What happens is that it picks up the default pagelayout rather than this one.

I've cleared the cache manually just to make sure it'll get picked up - all to no avail.

Please help. My approach worked perfectly well in 3.2.

Thanks,

Don.

Alex Jones

Wednesday 21 January 2004 7:21:01 am

Don, could it be due to the lack of a closing bracket at the end of the first line, or perhaps the lack of the .tpl extension on the MatchFile?

Alex

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

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

Don MacLeod

Wednesday 21 January 2004 7:54:50 am

Alex

O yeah - I see what u mean. Unfortunately, that's just a couple of typos on my part when I put this topic together. I can assure you that the settings are correct in the actual file itself.

Don.

Kåre Køhler Høvik

Wednesday 21 January 2004 8:18:51 am

Hi

Please add a reproduceable bug report for this. We're not aware of any override bugs in 3.3 at the moment.

Kåre Høvik

Kåre Høvik

Don MacLeod

Wednesday 21 January 2004 8:54:34 am

Hi Kåre

OK - I've placed a bug report entitled "Override mechanism not working - 3.3.1".

Don.

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 19:17:18
Script start
Timing: Jan 18 2025 19:17:18
Module start 'layout'
Timing: Jan 18 2025 19:17:18
Module start 'content'
Timing: Jan 18 2025 19:17:20
Module end 'content'
Timing: Jan 18 2025 19:17:20
Script end

Main resources:

Total runtime1.4548 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.0391152.6250
Module start 'layout' 0.00730.0041 741.664139.4297
Module start 'content' 0.01141.4417 781.0938591.4141
Module end 'content' 1.45310.0016 1,372.507812.1797
Script end 1.4547  1,384.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2703160.0002
Check MTime0.00150.1042160.0001
Mysql Total
Database connection0.00160.110010.0016
Mysqli_queries1.387995.4060650.0214
Looping result0.00080.0522630.0000
Template Total1.407596.720.7037
Template load0.00240.166520.0012
Template processing1.405096.581220.7025
Template load and register function0.00020.016210.0002
states
state_id_array0.00280.190310.0028
state_identifier_array0.00150.106020.0008
Override
Cache load0.00210.1448320.0001
Sytem overhead
Fetch class attribute can translate value0.00090.060830.0003
Fetch class attribute name0.00120.085470.0002
XML
Image XML parsing0.00120.083130.0004
class_abstraction
Instantiating content class attribute0.00000.000970.0000
General
dbfile0.00100.0701210.0000
String conversion0.00000.000640.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
2content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs