The Email Alert add-on allows the visitors of a web site to subscribe to different areas of interest and receive a notification when a certain article is updated.
Email alert will be included in the next build of the SC Printers Inc demo site, and below is the quick installation walkthrough. The module requires Sitecore MailingList to work, so I assume you have it working (i.e. the mails are sent out OK)
Install the package
Download and install the package, update configuration according to readme.
Define target groups
The package will install /sitecore/content/Target Groups branch. We want the users to be able to subscribe to news and product areas; it should be possible to subscribe to monochrome and color laser printers separately. With that in mind, define the following structure instead of the sample one:
Update site templates
Next we need to update templates of the product and news items; add /sitecore/templates/Email Alert system/EmailAlert.Target Groups template as a base template to Product and News item templates:
This will add the Target Groups field to products and news.
Bind items to target groups
Now when relevant templates have the Target Groups field included, use it to define relationship between items and target groups.
It's simple for news: find the News Item template, and edit the standard values so that 'News' checkbox is checked in target groups field:
Because products have two separate branches (monochrome and color) that are based on the same template but should belong to different target groups, we need to set the checkboxes manually:
Then update product masters to make sure that new items are automatically set up in future.
Add the subscription page
The subscription page will allow extranet users to subscribe to target groups they are interested in.
Email alert installs a sample 'Subscribe' sublayout. Pick a page and setup presentation to add the sublayout:
With Printers Inc, the page is tweaked to match the site design and the ability to create new users is removed:
Now extranet users can use the page to subscribe to one or more topics.
See it working
Now the module is finally set up. Next time editor wants to update the product, she opens Content Editor, updates some details:
and then clicks save:
Because laser printers are watched by email alert, comment notification pops up and editor enters a brief description of the change.
Nothing happens until the product is published; after the publish email agent kicks in and sends notification emails to all users subscribed to particular target group (Product -> Laser):
The templates are customizable at /sitecore/system/modules/EmailAlert/Settings.