Using an actual site
On the public site, signed-in visitors whose role grants notification/use can follow pages and manage what they follow.
Following a page
The page needs a "Keep me updated" (or "Notify me about updates") button; the design standard has one in its full view, and adding one to your design takes a small form. The button leads to a confirmation page; Notify me subscribes. From then on the visitor gets a mail when something is published at or below that page, if the visitor may read it.
The settings page
/notification/settings on the site shows the visitor's own settings:
- the followed items, with Remove selected;
- E-mail digest: one mail daily at an hour, weekly on a day, or monthly on a day, instead of a mail per change;
- Collaboration notification: the kinds of collaboration items (such as approvals) to be mailed about.
Link to it from your site's account menu, for example:
<a href={'notification/settings'|ezurl}>My notification settings</a>
Limits
- Anonymous visitors cannot follow pages; they have to sign in.
- The digest hour is the server's time.
Related pages
Contributors
- Svitlana Shatokhina
- Geir Arne Waaler
- Graham Brookins Updated Maintainer
Comments
Add a comment