Override or Append: Explain the difference

Author Message

RW Wood

Thursday 04 September 2003 7:54:22 am

I understand the reasoning behind not modifying the base .ini files, but I'm having a problem getting a handle on when and where the different files should be used. For example, in the demo distribution, there are two files in siteaccess/demo, override.ini.append and site.ini.append. Then there is reference in the docs to and override folder beneath the siteaccess folder, that I assume one has to create.

I'd appreciate anyone who could either point me to a document that explains the difference in these files and folders, or give me a basic explanation of how the two are used. Also, how the override templates found under design\demo\override for example are needed/used if each design folder is a separate design.

Thanks
RWW

Hans Melis

Thursday 04 September 2003 8:35:49 am

This page might be of some help:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/configuration/configuration_files

The override.ini (+ .append files) are used to configure which templates override which ones. The overriding templates are in override/templates under a design.

The site.ini (+ .append files) are used to configure site settings.

- .append files append settings to a configuration file in /settings.
- the "override" folder in /settings is used to store the site-wide .append files, and is not related to the template override system.

Hans
http://blog.hansmelis.be

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

Main resources:

Total runtime1.3916 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.0073 588.1484152.6406
Module start 'layout' 0.00730.0031 740.789139.4766
Module start 'content' 0.01041.3798 780.2656522.5625
Module end 'content' 1.39020.0013 1,302.82818.1250
Script end 1.3916  1,310.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2470160.0002
Check MTime0.00150.1053160.0001
Mysql Total
Database connection0.00100.073810.0010
Mysqli_queries1.341196.3681540.0248
Looping result0.00060.0443520.0000
Template Total1.356297.520.6781
Template load0.00230.162720.0011
Template processing1.353997.290920.6770
Template load and register function0.00020.012910.0002
states
state_id_array0.00070.053810.0007
state_identifier_array0.00150.105820.0007
Override
Cache load0.00180.1326150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.050320.0003
Fetch class attribute name0.00140.097930.0005
XML
Image XML parsing0.00060.043320.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00270.1963150.0002
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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs