Template override conditions

Author Message

Pavel Konovalov

Wednesday 01 November 2006 2:22:32 am

Please, help me.
What kind of condition I could use if I want create override template for next template:
"design/standard/templates/notification/handler/ezsubtree/view/plain.tpl".
I want to use this template for user's distribution.

Are you gangsters?!
No, we are Russians.

Claudia Kosny

Wednesday 01 November 2006 9:34:07 am

Hi Pavel

If you want to replace this template generally for your siteaccess, you can just put the override in such an folder:
design/<your siteaccess>/override/templates/notification/handler/ezsubtree/view/plain.tpl.

I don't think that dynamic overrides are possible for this template.

Claudia

Pavel Konovalov

Wednesday 01 November 2006 10:02:39 am

Hi Claudia!
Thank you.
The solve didn't help me.

Are you gangsters?!
No, we are Russians.

Claudia Kosny

Wednesday 01 November 2006 11:00:00 am

Hi Pavel

Hmm, in this case I don't know either what to do. Usually it is enough to place the override templates in the corresponding folder on the custom design folder for your siteaccess if you don't want or have any specific override conditions. So if that does not work either I don't see any other option then to replace the original template.

Claudia

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:58:52
Script start
Timing: Jan 19 2025 00:58:52
Module start 'layout'
Timing: Jan 19 2025 00:58:52
Module start 'content'
Timing: Jan 19 2025 00:58:54
Module end 'content'
Timing: Jan 19 2025 00:58:54
Script end

Main resources:

Total runtime1.5025 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 590.2891152.6250
Module start 'layout' 0.00500.0025 742.914139.4453
Module start 'content' 0.00751.4931 782.3594539.7891
Module end 'content' 1.50060.0018 1,322.148412.1641
Script end 1.5024  1,334.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2485160.0002
Check MTime0.00150.1020160.0001
Mysql Total
Database connection0.00070.048710.0007
Mysqli_queries1.447296.3191600.0241
Looping result0.00070.0456580.0000
Template Total1.463497.420.7317
Template load0.00230.155020.0012
Template processing1.461197.246020.7306
Template load and register function0.00020.013310.0002
states
state_id_array0.00260.174010.0026
state_identifier_array0.00230.154520.0012
Override
Cache load0.00180.1209230.0001
Sytem overhead
Fetch class attribute can translate value0.00220.149120.0011
Fetch class attribute name0.00160.105250.0003
XML
Image XML parsing0.00270.179620.0013
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00400.2666160.0003
String conversion0.00000.000340.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs