Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

bootstrap_site_alert

1,535 sites Security covered
View on drupal.org

Puts a site wide bootstrap themed alert message on the top of every page.

I made this module because some of the other existing modules came close in functionality. However, we didn't want to rely on blocks or panels or anything with a theme layer. We needed something fast and easy with a WYSIWYG enabled message and so this module was born. We use hook_page_alter (D7) / hook_page_top (D8) to display the message and so it is independent of any setup you may have on the site.

You will need a Bootstrap based theme to use this, For Bootstrap 4, I suggest Bootstrap Barrio. For Bootstrap 3, I suggest Kalatheme or Bootstrap.

People without Bootstrap
You can technically still use this, it just depends on the front end library Bootstrap for CSS / JS.

I did however add the CSS / JS in the Documentation for this module so EVERYONE can use it!

3.0.x replaces 8.x-1.x.

There is a clear distinction between 8.x-1.x and 8.x-2.x.

Upgrade from 8.x-1.x to 3.0.x

The 3.0.x is the recommended stable release to use for Drupal 10+. For those using 8.x-1.x you may safely upgrade to the semantic version release 3.0.x if you're on Drupal 10+.

Difference between 3.0.x & 8.x-2.x

  • The 3.0.x version is a config form that uses the state API based to render the alerts.
  • The 2.0 version is content based and uses a view to render the alerts.

Why the differences?

Basically the 2.0 version arose from a client request. They wanted content workflow and scheduling around the site alerts. Instead of spending a ton of time trying to get the existing module to do this, I made the content based version. Both versions are basically the same thing functionally.

  • If you want a simple non content based solution, then choose the 3.0.x version.
  • If you need a more robust version that uses node entities, then choose the 2.0 version.

Check Out The Documentation

Similar Modules

Site Alert - https://www.drupal.org/project/site_alert
This module was very close to what we wanted originally. We didn't need a date, something in a panel or block, and we needed a configurable WYSIWYG. Inspiration was drawn from this module. Good module though.

Sitewide Alert Message - https://www.drupal.org/project/sitewide_msg
Close, but didn't really hit the mark on what we needed like site_alert.

Alerts - https://www.drupal.org/project/alerts
Works by attaching an alert to individual nodes. No way for a site administrator to create a site wide alert.

Activity

Total releases
5
First release
Feb 2025
Latest release
3 months ago
Release cadence
83 days
Stability
80% stable

Release Timeline

Releases

Version Type Release date
3.0.5 Stable Jan 2, 2026
3.0.4 Stable Apr 23, 2025
8.x-1.13 Stable Apr 23, 2025
3.0.3 Stable Feb 4, 2025
8.x-2.0-beta12 Pre-release Feb 4, 2025