Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module provides a simple way to show a short-term urgent message on the website. Think of CNN Breaking News, when they show a short message the top of the site (or the 'Welcome!' style messages at StackExchange websites). This module works for both anonymous and authenticated users by using a cookie, and recording actions in the database. This solves the need to show messages independent of the users authenticated status.
With User Alerts, you can:
Alert users about breaking news, or a special same-day sale for ecommerce
Set the appropriate permissions for selected roles
Set the User Alert block in the appropriate region of your theme.
Create a user alert node.
You can also set some global settings for alerts at admin/settings/user-alert.
Unpublished alert nodes are removed from the system automatically. This is to prevent an old alert being seen by a user (if the cookie was cleared or expired, for example) if a node was republished accidentally.