Email notification override

Author Message

Amina Bacar

Sunday 28 November 2004 6:06:46 am

Hi,

Is it possible to override the template
design/standard/templates/notification/handler/ezsubtree/view/plain.tpl ?

If yes, how?

Thanks,

Amina.

http://www.mzbusiness.com

Kristian Hole

Wednesday 01 December 2004 12:11:02 am

Hi

You can override all templates. You can for example override it in your siteaccess (or in an extension). Create a similar directory-structure (eg design/yousiteaccess/templates/notification/handler/ezsubtree/view/plain.tpl).

Remember to clear your cache.

Since this is an template that is used in the notification cronjob, you need to specify the siteaccess when running the cronjob.

You can do it like this:

./runcronjobs -s yoursiteaccess 

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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 16:06:56
Script start
Timing: Jan 18 2025 16:06:56
Module start 'layout'
Timing: Jan 18 2025 16:06:56
Module start 'content'
Timing: Jan 18 2025 16:06:57
Module end 'content'
Timing: Jan 18 2025 16:06:57
Script end

Main resources:

Total runtime0.7233 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.0062 589.0313152.6250
Module start 'layout' 0.00620.0027 741.656339.4453
Module start 'content' 0.00880.7130 781.1016520.7969
Module end 'content' 0.72180.0014 1,301.89848.1641
Script end 0.7233  1,310.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4599160.0002
Check MTime0.00130.1753160.0001
Mysql Total
Database connection0.00080.109110.0008
Mysqli_queries0.680494.0673540.0126
Looping result0.00060.0814520.0000
Template Total0.694696.020.3473
Template load0.00200.278220.0010
Template processing0.692595.746520.3463
Template load and register function0.00020.021810.0002
states
state_id_array0.00140.191510.0014
state_identifier_array0.00110.148220.0005
Override
Cache load0.00160.2219180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.074920.0003
Fetch class attribute name0.00120.159830.0004
XML
Image XML parsing0.00080.107420.0004
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00080.1051160.0000
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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs