The notification module

Author Message

justin kazadi

Thursday 02 July 2009 3:13:31 am

Hello all,

i'am using the notification module to notify user about update on my web site.

i have an content class "forum_topic" who have like attribute:

Name(text line)
Keep me update(Subtree subscription)
Message(text block)
this content class can contains items (forum_reply).

when user create an instance of "forum_topic" and and accept to be notify an email is

send to him (his email address)

and when other user create an instance of "forum_reply" content class an email are send to

the creator of the "forum_topic" instance and to the user who are subcribe to this topic.

My problem is that I don't want to send email when user create an instance of "forum_topic" but only when the "forum_reply" are created.

how to do it?

thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

justin kazadi

Thursday 02 July 2009 6:58:58 am

Is it possible or not?

is there someone who could help me to solve this problem.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

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 11:15:50
Script start
Timing: Jan 18 2025 11:15:50
Module start 'layout'
Timing: Jan 18 2025 11:15:50
Module start 'content'
Timing: Jan 18 2025 11:15:51
Module end 'content'
Timing: Jan 18 2025 11:15:51
Script end

Main resources:

Total runtime0.6595 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.0059 589.0391152.6250
Module start 'layout' 0.00590.0046 741.664139.4453
Module start 'content' 0.01050.6475 781.1094487.0625
Module end 'content' 0.65810.0014 1,268.17198.1719
Script end 0.6595  1,276.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4765160.0002
Check MTime0.00130.1984160.0001
Mysql Total
Database connection0.00080.119810.0008
Mysqli_queries0.608692.2826520.0117
Looping result0.00050.0691500.0000
Template Total0.622894.420.3114
Template load0.00200.297220.0010
Template processing0.620894.123920.3104
Template load and register function0.00010.018810.0001
states
state_id_array0.00120.181510.0012
state_identifier_array0.00100.154520.0005
Override
Cache load0.00170.2528220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.099310.0007
Fetch class attribute name0.00220.326330.0007
XML
Image XML parsing0.00090.129610.0009
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00170.2604160.0001
String conversion0.00000.001840.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
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
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: 6

Time used to render debug report: 0.0001 secs