Subtree notifications :"site alert" instead of an e-mail

Author Message

David Zaoui

Tuesday 26 June 2007 2:53:43 am

Hi,

I am currently working on subtree notifications for a website. The built-in notification system works perfectly fine : an e-mail is sent when an article is added etc..
The problem is that i don't want users being notified by an email, but through a specific page of the website called "my notifications".
For example, when an article is added on a folder, i want the following link :
"The article XXX has been added ..." to be added on "my notifications" page for the users who subscribed.
Is there a simple way to do that or do i have to modify the php notifications-related files ?

Thanks,

David

Mark Marsiglio

Tuesday 26 June 2007 5:48:27 am

Have you seen this function?

https://ez.no/content/new

It is built in, just go to /content/new on your site. I am not sure about settings or parameters of it, but it might give you a good start.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Lukasz Piech

Tuesday 26 June 2007 7:25:51 am

This content/new function is cool and what i need exactly.

Does anyone know how to limit it i.e. to a specific node or something? I.e to show only new articles from a specific folder?

Lukasz

David Zaoui

Wednesday 27 June 2007 1:22:13 am

Thanks Mark, i've never heard of this functionality before and it's very useful !
Now i have the same problem as Lukasz, i must only display new content that belong to the user's subscribed subtrees.
As far as i know, the ('content','tree') fetch only one subtree, and the ('content','search'), although it allows multiple subtree fetch, needs a text input.

So do you know what the best solution is?

Thank you all,

David

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

Main resources:

Total runtime1.4572 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0111 588.0547152.6406
Module start 'layout' 0.01110.0061 740.695339.4766
Module start 'content' 0.01721.4386 780.1719577.1563
Module end 'content' 1.45570.0014 1,357.328112.1094
Script end 1.4572  1,369.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2361160.0002
Check MTime0.00130.0899160.0001
Mysql Total
Database connection0.00130.092610.0013
Mysqli_queries1.398495.9655620.0226
Looping result0.00080.0570600.0000
Template Total1.401496.220.7007
Template load0.00220.148620.0011
Template processing1.399296.017720.6996
Template load and register function0.00020.013010.0002
states
state_id_array0.00160.109110.0016
state_identifier_array0.00170.118720.0009
Override
Cache load0.00180.1246280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.045430.0002
Fetch class attribute name0.00140.095350.0003
XML
Image XML parsing0.00120.080730.0004
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00120.0839150.0001
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs