Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Alerts

Security covered Under active development 40 sites

This module provides a system for creating and displaying alerts on your website. It automatically sets up an "Alert" content type, severity levels, and a view for displaying them. An optional submodule adds a dismissible alert block to the header, with a JavaScript feature to remember user dismissals.

This module has been re-released as a Configuration Kit, ready for Drupal 9.

As such, when installed this module now creates a new content type (Alert), a related taxonomy vocabulary (Alert Severity), and a view for display the alerts. The module will automatically create three severity levels.

Install the alerts_olivero submodule to automatically place a block in the header for displaying up to five alerts. It will also add JavaScript that will allow a visitor to click to dismiss alerts. When dismissed, the alert id is saved in the visitor's localStorage so it will hidden on subsequent page loads and visits.

An editor or site builder can choose the colour to be used as the background for each level of severity.

Version 2: Now a recipe!

The 2.0.x branch of this module has converted the code so the provided configuration can be installed as a recipe. Note that you will likely want to also install the Alerts Format module to enhance the formatting, or add equivalent code to your custom theme.

Drupal 9–11

Ask your assistant about Alerts

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-beta1 Pre-release May 19, 2024
2.0.x-dev Dev May 19, 2024
1.1.1 Stable 9–11 Apr 18, 2024
1.1.0 Stable 9–10 May 11, 2023
1.1.x-dev Dev 9–11 May 11, 2023