custom design override.ini problems

Author Message

James Ward

Tuesday 22 July 2003 7:03:14 am

Having trouble getting my custom design started. I have created my own design called "ca" it is located in /design/ca. I have added the appropriate settings to get it working and changed the pagelayout.tpl to a design I like. I now would like to setup an override to use a different pagelayout for another section. I have added a section called "access" with the Section ID 4. I created a override.ini file in /design/ca/override/ with the following lines:

[access]
Source=node/view/full.tpl
MatchFile=pagelayout_access.tpl
Subdir=templates
Match[section]=4

And I added pagelayout_access.tpl to /design/ca/override/templates with a slightly modified design.

But when I view articles and folders in section 4 they are still rendered the same as the others. All caches have been cleared. Any idea what I missed here?

working at www.wardnet.com
blogging at www.jamesward.ca

Red Bullbone

Tuesday 22 July 2003 7:08:24 am

Try 'Source=pagelayout.tpl' instead of 'Source=node/view/full.tpl'.

James Ward

Tuesday 22 July 2003 7:48:40 am

It appears I put my override file in the wrong place. I added the following lines:

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

In /settings/siteaccess/ca/override.ini.append

It was not very clear in the documentation that this file goes in the settings folder and not in the design folder. Thanks all.

working at www.wardnet.com
blogging at www.jamesward.ca

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

Main resources:

Total runtime1.0516 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.0102 588.0313152.6406
Module start 'layout' 0.01020.0035 740.671939.4609
Module start 'content' 0.01371.0363 780.1328531.2188
Module end 'content' 1.05010.0015 1,311.351612.1563
Script end 1.0516  1,323.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3302160.0002
Check MTime0.00150.1413160.0001
Mysql Total
Database connection0.00100.090510.0010
Mysqli_queries0.999094.9965570.0175
Looping result0.00070.0633550.0000
Template Total1.006395.720.5032
Template load0.00230.214320.0011
Template processing1.004095.474720.5020
Template load and register function0.00010.011010.0001
states
state_id_array0.00100.094610.0010
state_identifier_array0.00230.215320.0011
Override
Cache load0.00190.1764240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.072920.0004
Fetch class attribute name0.00170.163740.0004
XML
Image XML parsing0.00060.058720.0003
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00090.0890160.0001
String conversion0.00000.000940.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
3content/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
2content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs