How Can I Override an Extension Template

Author Message

Alex Jones

Tuesday 29 July 2003 12:01:53 pm

I have tried to override an extension template in override.ini.append for my site but it doesn't seem to take, nor does it throw any errors. Below is what I have in override.ini.append:
[ezmatrixrow_steelchart]
Source=/extension/matrixrow/design/standard/templates/content/datatype/view/ezmatrixrow.tpl
MatchFile=ezmatrixrow_steelchart.tpl
Subdir=templates
Match[node]=842

I have also tried setting the source to use ../extension to no avail.

Any thoughts?

Alex

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

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

Selmah Maxim

Thursday 31 July 2003 4:19:04 am

did you try this ?

Source=content/datatype/view/ezmatrixrow.tpl

and don`t forget to clean the cache befor testing the override!

Alex Jones

Friday 01 August 2003 7:26:36 am

That worked. Thanks!

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

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

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

Main resources:

Total runtime0.9620 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.0053 589.1641152.6406
Module start 'layout' 0.00530.0050 741.804739.4766
Module start 'content' 0.01030.9500 781.2813527.8906
Module end 'content' 0.96040.0017 1,309.171912.1250
Script end 0.9620  1,321.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3574160.0002
Check MTime0.00140.1415160.0001
Mysql Total
Database connection0.00090.088610.0009
Mysqli_queries0.897593.2923570.0157
Looping result0.00110.1117550.0000
Template Total0.919595.620.4598
Template load0.00210.216820.0010
Template processing0.917495.361620.4587
Template load and register function0.00010.012810.0001
states
state_id_array0.00180.182110.0018
state_identifier_array0.00250.256420.0012
Override
Cache load0.00170.1813200.0001
Sytem overhead
Fetch class attribute can translate value0.00150.159220.0008
Fetch class attribute name0.00820.850840.0020
XML
Image XML parsing0.00070.070820.0003
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00210.2234160.0001
String conversion0.00000.001340.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
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs