I created a notification system adapted to my website and it's works. When a user is on home page, he can see his notifications.
But currently, for refresh his notifications the user have to reload the home page... (currently notifications visibles only on home page)
I want the notifications refresh automatically where there is a new notification, so without reload the page.
I want also user can be alerted by a new notification in all pages of my website (example : a div appears with notification message).
How can I do this ?
Thank you !
PS : My Notification is very simple, so a Notification model with a Manager.