Forums / Developer / best solution for custom notification

best solution for custom notification

Author Message

Ivo Lukac

Saturday 19 April 2008 4:43:03 am

Hi!

As the notification system is extendable I am sure that my idea can be implemented, just searching for best solution.

The idea is to use ezsubtree subscribe functionality so users can subscribe to some node. Furthermore users could use ezgeneraldigest settings to specify time when would they prefer to receive notification.

Main idea is to send notification digest with ezcurrenttime event when user had specified for every node subscribed (as if all nodes are published but they in fact are not). The solution could be to generate ezpublish events every day with some custom cronjob script or to make custom ezcurrenttime event which would do the magic.

Has someone a better idea or good advice?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Maxime Thomas

Sunday 20 April 2008 11:31:56 am

I think you may use the original system only by changing the user interface.
Try to :
- create an extension with a design
- make an override for the tempate loaded at the notification/settings url
- change the form to put your own values (for exemple a calendar)
- test it !

If I'm not clear, you can ask me further questions, I'm available. :-D

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Ivo Lukac

Monday 21 April 2008 5:30:17 am

Original system can't do the trick because I need to send notifications every day, not when nodes are published.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac