This module displays ongoing incidents from the StatusPal service as a widget on your Drupal site. It provides two blocks: one for a button that shows the number of unread incidents and another for the incident messages themselves. The widget uses JavaScript to manage data and can be configured with your StatusPal endpoint URL.
Provides a widget with ongoing incidents from incident service StatusPal. The module uses the Statuspal summary endpoint, and will show a separate message for an incident, a maintainance and / or an upcoming maintainance.
The module provides two blocs that can be placed in your theme. One for the button element that toggles messages, if there are any, and one for the message container. Both blocks needs to be placed for it to work. The button shows a counter with number of ongoing incidents, and also wether the user has read them or not.
Data is stored in javascript sessionStorage.
Some basic styling is provided, but you would likely want to override this in your theme.
A setting for development mode is included, toggling this will replace the data from the service with included static test data, and the status of incidents will be set to unread.
Post-Installation
Configure the module at /admin/config/services/statuspal/widgetsettings with your endpoint URL, desired placement of your messages, and toggle development mode as you need.
Supported by
Ask your assistant about Statuspal widget
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
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha5 | Pre-release | 9–11 | Aug 8, 2024 | ||
| 1.0.0-alpha4 | Pre-release | 9–10 | Feb 20, 2024 | ||
| 1.0.0-alpha3 | Pre-release | 9–10 | Jan 31, 2024 | ||
| 1.0.0-alpha2 | Pre-release | 9–10 | Jan 31, 2024 | ||
| 1.0.0-alpha1 | Pre-release | 9–10 | Jan 26, 2024 | ||
| 1.0.x-dev | Dev | 9–11 | Jan 17, 2024 |