This project is not covered by Drupal’s security advisory policy.

Do you want to improve your drupal website? I guess that's a Yes then! Don't we all :)

This module adds great looking status messages that stay well away from your design by being absolutly positioned while beautifully alerting your users temporarily before they say byebye and leave you be!

Built using the wonderful js library Shoelace and using the Alert component.

This setup greatly enhances the page since these messages are isolated from the layout and do not intefere with the design. The standard status messages are part of the page, causing them to move or push page elements further down, under the fold, which can disrupt and clutter the design for users. Not good and very annoying!

This module replaces the standard drupal status messages and creates shoelace alerts instead. These kinds of messages are also known as "Toast" notifications (or alerts).

Works for all status messages including messages created during Ajax requests.

This module is a perfect extension for the Drupal Commerce module. It was first developed for a Drupal Commerce website.

Also perfect for mobile screens.

Dependencies
Shoelace (loaded via cdn)

Installation
composer require drupal/shoelace_messages

Setup
No setup required. Just install the module and let it do its thing.

Drupal message types: "status", "warning" and "error"

Proposed Development & Features
Configuration page for various settings related to the shoelace messages:

  • Time
    Configure the delay time in seconds before a message is hidden for each message type (default: 'infinate' for all types).
  • Position
    top-right, bottom-right, left-bottom, top-left, center-top, center-bottom (default: top-right)
  • Grouping
    Configure grouping for each message type, single or grouped (default: single)
  • Colors
    Configure color for each message type
  • Icons
    Configure icon for each message type
  • Width
    Configure width for each message type


Please note:
Standard messages will display for super user (uid: 1). This is planned to be configurable in a later release.

Project information

Releases