How to edit the mail sent by notification module

Author Message

Frode Marton Meling

Monday 20 October 2003 5:38:39 am

Is the mail sendt from the notification module, generated by a tpl or where can I modify it?

Frode

Jan Borsodi

Wednesday 22 October 2003 5:30:17 am

It depends on which notification handler is used, in the case of the subtree handler you can modify the template
design/standard/templates/notification/handler/ezsubtree/view/plain.tpl

If you look in the same directory you will see the file digest_plain.tpl and a digest_element_plain.tpl, they are used when sending out email using digests.

Generally speaking the templates will be in the view subdirectory of the notification handler. All notifications templates are found in
design/standard/templates/notification

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Tony Wood

Monday 23 February 2004 10:34:05 am

Jan,

Can these tpl files be overriden? If so what locaiton would you use to override plain.tpl on subtree. /user? /cronjob?

Thanks in advnace

--tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

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 18:39:41
Script start
Timing: Jan 18 2025 18:39:41
Module start 'layout'
Timing: Jan 18 2025 18:39:41
Module start 'content'
Timing: Jan 18 2025 18:39:42
Module end 'content'
Timing: Jan 18 2025 18:39:42
Script end

Main resources:

Total runtime0.8908 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.0625152.6406
Module start 'layout' 0.00480.0034 740.703139.4766
Module start 'content' 0.00820.8810 780.1797574.9609
Module end 'content' 0.88930.0015 1,355.140612.1250
Script end 0.8908  1,367.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3648160.0002
Check MTime0.00140.1520160.0001
Mysql Total
Database connection0.00080.093910.0008
Mysqli_queries0.841894.5000590.0143
Looping result0.00060.0687570.0000
Template Total0.858796.420.4293
Template load0.00200.226820.0010
Template processing0.856696.159520.4283
Template load and register function0.00020.023610.0002
states
state_id_array0.00090.101510.0009
state_identifier_array0.00120.134220.0006
Override
Cache load0.00170.1910180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.070030.0002
Fetch class attribute name0.00140.153150.0003
XML
Image XML parsing0.00120.132030.0004
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00160.1758230.0001
String conversion0.00000.000940.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
3content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs