Forums / Developer / Creating custom notifications
Clive Flatau
Monday 24 January 2005 4:14:59 am
We would like to create notifications selected via our own template for a selection of subtrees. I have not found any documentation on how to do this. But I have been looking at the nofification/settings page and associated templates. I presume we will have to customise these.
Could somebody confirm this is the way forward and/or give us some other information?
thxClive
Lazaro Ferreira
Monday 24 January 2005 6:29:23 am
Hi,
I would recomend you this way, if it fullfills your needs, we have used with success in our projects, there is nothing wrong with it.
Actually you are customizing ezpublish templates , that's right, and on the other hand this way you are reusing ezpublish built-in notification for content objects, that it is also right
Lazaro http://www.mzbusiness.com
Monday 24 January 2005 8:57:53 am
I am trying to do this by overriding the standard notification templates i.e.
[notification_settings] Source=notification/settings.tpl MatchFile=notification_settings.tpl Subdir=templates [notification_edit] Source=notification/handler/ezsubtree/settings/edit.tpl MatchFile=notification_edit.tpl Subdir=templates
This is because I only want to set subtree notifications.
This does not seem to work art first try. The 'handler' variable set up in setting.tpl (notification_settings.tpl) in my override isn't being set.
Any help would be appreciated.
Clive
Svitlana Shatokhina
Friday 17 February 2006 1:28:15 am
The notification system is now documented here: http://ez.no/doc/ez_publish/technical_manual/3_6/features/notifications
Best regards,Sveta