Forums / Developer / notifications based on fetch result instead of subtree

notifications based on fetch result instead of subtree

Author Message

Mickael Robin

Wednesday 17 September 2008 7:03:55 am

Hi all,

I need to propose notifications on categorized items whose locations are not under the same node.

I first thought of using cross-publishing to re-construct a subtree, but adding locations to a node doesn't allow to also add locations to its children...

Then I need to propose <b>notifications not on a subtree, but on a collection of objects or nodes coming from a tree fetch</b> using an attribute filter on a single selection type attribute (filtering values being given by view parameters...)

Does anybody think of a way to achieve this?

Thanks in advance for your ideas.

eZ debug

Timing: Jan 18 2025 19:20:37
Script start
Timing: Jan 18 2025 19:20:37
Module start 'content'
Timing: Jan 18 2025 19:20:37
Module end 'content'
Timing: Jan 18 2025 19:20:37
Script end

Main resources:

Total runtime0.7446 sec
Peak memory usage4,096.0000 KB
Database Queries47

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.0703180.8125
Module start 'content' 0.00560.7344 769.8828404.0234
Module end 'content' 0.74010.0045 1,173.906338.0703
Script end 0.7445  1,211.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4258140.0002
Check MTime0.00130.1752140.0001
Mysql Total
Database connection0.00070.096610.0007
Mysqli_queries0.710795.4540470.0151
Looping result0.00040.0510450.0000
Template Total0.716396.220.3582
Template load0.00200.263820.0010
Template processing0.714395.930220.3571
Template load and register function0.00020.027510.0002
states
state_id_array0.00110.148010.0011
state_identifier_array0.00060.085820.0003
Override
Cache load0.00160.208790.0002
Sytem overhead
Fetch class attribute can translate value0.00050.073710.0005
Fetch class attribute name0.00100.133110.0010
XML
Image XML parsing0.00010.016410.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00080.1016120.0001
String conversion0.00000.000730.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs