Notification in website

Hi, I have a requirement where the user of the web app will get a notification when ever any new documents is uploaded by documents or any new data is updated like faq question.How to do this   [edit] I do not want to sent email notification,the user will get a bell icon just like facebook,and will show count of all changes.
2 answers

Assuming you will send a mail notification, you will need the email module.

Then you have two options

1) Run a scheduled event at a certain interval that sends out the reminders

2) Use an After commit event on the uploaded documents entity to send an email



I just tested this one: it will update the icon when new notifications are created. Works like a charme.