Similar templates overrides in multiple extensions

Author Message

Bertrand Dunogier

Saturday 12 February 2005 7:47:53 am

With the current system, it looks like it is impossible to override the same templates in several extensions without one of them depending on one or more of the others.

What does the order depend on ? Some order in the way extensions are loaded ?

Is that already handled in existing extensions ?

Bertrand Dunogier

Sunday 13 February 2005 2:04:09 am

I have a more accurate exemple now. For what I'm currently doing (simplified version of the admin interface for editors), I have to change design/admin/templates/content/edit.tpl

But I have xmlarea installed, and it has an override for that file. What can I do ? Is there any way to have the same extension work in both cases (XML Area installed / not installed) ?

Thanks in advance.

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 19 2025 00:29:33
Script start
Timing: Jan 19 2025 00:29:33
Module start 'layout'
Timing: Jan 19 2025 00:29:33
Module start 'content'
Timing: Jan 19 2025 00:29:34
Module end 'content'
Timing: Jan 19 2025 00:29:34
Script end

Main resources:

Total runtime0.7743 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1641152.6406
Module start 'layout' 0.00490.0027 741.804739.4922
Module start 'content' 0.00760.7653 781.2969421.9766
Module end 'content' 0.77290.0013 1,203.27348.1250
Script end 0.7742  1,211.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4634160.0002
Check MTime0.00150.1980160.0001
Mysql Total
Database connection0.00060.075610.0006
Mysqli_queries0.732894.6511520.0141
Looping result0.00040.0570500.0000
Template Total0.738495.420.3692
Template load0.00310.404320.0016
Template processing0.735294.956920.3676
Template load and register function0.00020.025510.0002
states
state_id_array0.00100.132110.0010
state_identifier_array0.00110.145920.0006
Override
Cache load0.00260.3325100.0003
Sytem overhead
Fetch class attribute can translate value0.00070.092110.0007
Fetch class attribute name0.00110.138420.0005
XML
Image XML parsing0.00010.016710.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00070.0877100.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/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: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs