This module displays a popup message to users once per browser session, configurable through the Drupal admin interface.
Introduction
Display popup message for users once per browser session.
Browser compatibility
Recommended modules
- No extra module is required.
Installation
- Install as usual, see Installing Modules for further information.
Configuration
- Navigate to Administration > Configuration > User interface >
Popup message for configurations. Save Configurations.
Upgrading from 3.0.x
Since 3.1.0, the popup HTML comes from the popup-message.html.twig template. The title and body values are no longer in drupalSettings.popupMessage.
If your theme has its own copy of popup.js, it still reads title and body, so the popup shows "undefined". Make a new copy from the module's js/popup.js and add your changes to it again.
To change the popup HTML, override popup-message.html.twig in your theme.
Sponsorship
This project is sponsored by Droptica - Experts in Enterprise Drupal Development
Ask your assistant about Popup message
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
- JS Cookie
- filter Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.