Attribute or Keyword-based Notification handler?

Author Message

Colin Angel

Friday 19 May 2006 3:38:12 pm

I'd like to send out new content notifications that match content item attributes (ie title/node name). Has anyone done anything like this? I couldn't find anything in the contribs.

I figured I'd probably have to write a notification handler to do this, but there is little in the way of examples or documentation that I could find.

Any guidance would be appreciated.

Paul Borgermans

Saturday 20 May 2006 1:00:59 pm

Hi,

Bug me about this in a week or so, I'll be off-line for a while. We once had ez create exactly that, but should port it to the 3.8 series and improve a few things.

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Colin Angel

Wednesday 31 May 2006 7:39:24 am

Hey Paul,

Just wanted to bug you about that code you mentioned you might have had re: notifications. Was it an extension?

Colin

Paul Borgermans

Friday 02 June 2006 8:42:13 am

Tx for bugging, it is on our todo list now :-))

It is an additional notification handler which lives in kernel/classes/notification/handler/<customhandlerdir>

I can't promise to have it out very soon, but it should be before the summer conference if all goes well

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Colin Angel

Sunday 04 June 2006 1:17:22 pm

Thanks Paul,

I'll be looking forward to it ;-)

Colin

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:27:20
Script start
Timing: Jan 19 2025 00:27:20
Module start 'layout'
Timing: Jan 19 2025 00:27:20
Module start 'content'
Timing: Jan 19 2025 00:27:21
Module end 'content'
Timing: Jan 19 2025 00:27:21
Script end

Main resources:

Total runtime0.7156 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 588.0469152.6406
Module start 'layout' 0.00980.0040 740.687539.4766
Module start 'content' 0.01390.7002 780.1641552.8750
Module end 'content' 0.71410.0015 1,333.039112.1250
Script end 0.7155  1,345.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5148160.0002
Check MTime0.00140.1890160.0001
Mysql Total
Database connection0.00160.227810.0016
Mysqli_queries0.642989.8462630.0102
Looping result0.00070.1011610.0000
Template Total0.667993.320.3340
Template load0.00250.343920.0012
Template processing0.665592.998820.3327
Template load and register function0.00020.033610.0002
states
state_id_array0.00190.267810.0019
state_identifier_array0.00150.211020.0008
Override
Cache load0.00200.2804250.0001
Sytem overhead
Fetch class attribute can translate value0.00090.123020.0004
Fetch class attribute name0.00220.305660.0004
XML
Image XML parsing0.00090.119520.0004
class_abstraction
Instantiating content class attribute0.00000.002570.0000
General
dbfile0.00230.3250170.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs