Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module displays a site-wide alert message at the top of every page, independent of theme setup. It requires a Bootstrap-based theme or the inclusion of Bootstrap CSS and JavaScript.

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
6 months ago
Releases (12 mo)
1 ▼ from 4
Maintenance
Slowing

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