override template order

Author Message

RW Wood

Thursday 25 September 2003 6:23:10 am

I understand that configuration files are read in this order:
1. /settings/site.ini
2. /settings/siteaccess/[directory]/site.ini.append
3. /settings/override/site.ini.append.php
with 3 taking precedence over 2, which takes precedence over 1.

But what about override.ini.append files? What is the order of precedence there? If I put template overrides in /settings/override/ovrride.ini.append should they apply to all designs on the site, and if so, in which folder should the templates themselves be put? By default, the standard design doesn't have an override folder. I'm a bit unclear on how this should work, and the trials I've done didn't give consistent results, so...

Thanks.
RWW

Bjørn Kaarstein

Friday 26 September 2003 1:55:37 am

/settings/override/ovrride.ini.append will apply to all siteaccesses.

/settings/siteaccess/yoursiteaccess/override.ini.append will go directly on the siteaccess, but will be overriden by /settings/override/ovrride.ini.append.

Regarding the templates, take a look here. Nicely described by Paul.

http://ez.no/developer/ez_publish_3/forum/setup_design/where_to_put_templates_

Regards Bjørn

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

Main resources:

Total runtime0.5548 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.0049 587.9063152.6250
Module start 'layout' 0.00490.0027 740.531339.4453
Module start 'content' 0.00760.5457 779.9766458.5156
Module end 'content' 0.55330.0015 1,238.49228.3281
Script end 0.5548  1,246.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6413160.0002
Check MTime0.00130.2360160.0001
Mysql Total
Database connection0.00070.129410.0007
Mysqli_queries0.515692.9268540.0095
Looping result0.00050.0920520.0000
Template Total0.524694.520.2623
Template load0.00190.348020.0010
Template processing0.522694.198320.2613
Template load and register function0.00010.022710.0001
states
state_id_array0.00140.249310.0014
state_identifier_array0.00100.189120.0005
Override
Cache load0.00160.2892170.0001
Sytem overhead
Fetch class attribute can translate value0.00110.193420.0005
Fetch class attribute name0.00130.229320.0006
XML
Image XML parsing0.00030.047820.0001
class_abstraction
Instantiating content class attribute0.00000.001620.0000
General
dbfile0.00050.0989100.0001
String conversion0.00000.000840.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/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs