advanced_notifications
Advanced Notifications adds browser push notifications and an in-site notification bell to Drupal. It helps site administrators create, schedule, send, and review notifications from Drupal without building a custom notification system from scratch.
Features
- Lets users subscribe and unsubscribe from browser push notifications.
- Provides VAPID authentication settings for Web Push delivery.
- Adds notification campaign management for drafting, scheduling, and sending notifications.
- Supports notification delivery by browser push, notification bell, or both.
- Supports role-targeted notification bell alerts.
- Provides a notification bell inbox block for logged-in users.
- Includes reporting for sent notifications, targeted users, delivered notifications, and delivery rate.
- Includes flood control and validation for subscription requests.
Use this module when a Drupal site needs timely alerts, internal announcements, member notifications, intranet updates, editorial messages, or campaign-style browser notifications.
Post-Installation
After installing the module, go to Configuration > Web services > Advanced Notifications.
- Configure VAPID keys at
/admin/config/services/advanced-notifications/vapid. - Configure default notification settings at
/admin/config/services/advanced-notifications/default-settings. - Configure flood control at
/admin/config/services/advanced-notifications/security. - Grant trusted roles permission to access the Advanced Notifications subscription REST resource.
- Place the Advanced Notifications subscription block if you want users to manually subscribe or unsubscribe.
- Place the notification bell block if you want logged-in users to see in-site notifications.
- Create and manage notification campaigns at
/admin/content/advanced-notifications/report.
The site must be served over HTTPS for browser push notifications to work in modern browsers.
Additional Requirements
- Drupal core REST module.
- Drupal core Serialization module.
- Drupal core User module.
- PHP extensions: mbstring, curl, and openssl.
- Composer library:
minishlink/web-push. - HTTPS, required by browser Push API support.
Recommended modules/libraries
- PWA, if your site already uses a custom service worker or progressive web app features.
- Security Kit, for additional site-wide browser security headers.
Similar projects
- Web Push: provides core browser push subscription and sending functionality. Advanced Notifications was inspired by and partially derived from Web Push, and adds campaign management, scheduling, role targeting, reporting, notification bell inbox support, and additional security hardening.
Supporting this Module
Use the Drupal.org issue queue to report bugs, request features, and submit patches or merge requests.
Community Documentation
Community documentation, walkthroughs, and demo links can be added here as they become available.
Credits
Advanced Notifications was inspired by and partially derived from the Web Push module. Credit goes to the Web Push project creator and maintainers, including yfiervil and jnguyen23.