Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Message Banner

Security covered Maintenance fixes only 411 sites

Part of the Message ecosystem · 20 projects

This module displays a customizable message banner at the top of your website. Visitors can dismiss the banner, and it intelligently reappears only if the message has been updated since they last closed it.

Displays a very simple message banner to website visitors. It can be shown at the top of all pages, or only at the top of non-admin pages.

When a visitor accesses your site, a simple JavaScript file checks their local storage to see when they last closed the banner against the time the Message Banner config form was last saved. If the config was saved more recently than the visitor closed the message last, then the banner shows to them.

A visitor can dismiss the banner by using the "Dismiss message" button. It's all semantic HTML so should be fully-accessible, and appears after the skip link on your website.

The banner can be customised by changing the background colour, and it offers an API to add your own colours without hacking it, so you can change per your brand. It's easily templated, too.

Which branch should I use?

  • 8.x-1.4 is suited to Drupal 8/9 but will receive no further updates.
  • 2.0.0 has the same features as 8.x-1.4, plus Drupal 10 support. It will receive no further updates.
  • 3.0.0+ introduces Drupal 11 compatibility, plus several new features that have been in the issue queue for far too long!
Drupal 10–11

Ask your assistant about Message Banner

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Sep 2023
Latest release
8 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.1 Stable 10–11 Jan 21, 2026
3.0.0 Stable 10–11 Jan 20, 2026
3.0.x-dev Dev 10–11 Jan 20, 2026
2.0.0 Stable 8–10 Sep 12, 2023
8.x-1.4 Stable 8–10 Sep 12, 2023
2.0.x-dev Dev 8–10 Sep 12, 2023