https://github.com/localgovdrupal/localgov_alert_banner
Alert banner module for LocalGovDrupal
https://github.com/localgovdrupal/localgov_alert_banner
Last synced: 10 months ago
JSON representation
Alert banner module for LocalGovDrupal
- Host: GitHub
- URL: https://github.com/localgovdrupal/localgov_alert_banner
- Owner: localgovdrupal
- License: gpl-2.0
- Created: 2020-06-15T09:01:13.000Z (about 6 years ago)
- Default Branch: 1.x
- Last Pushed: 2024-12-17T12:55:51.000Z (over 1 year ago)
- Last Synced: 2024-12-17T13:27:15.981Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 562 KB
- Stars: 5
- Watchers: 10
- Forks: 8
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LocalGov Drupal Alert banner
LocalGov Drupal Alert banner module, adds a global alert banner block and entity.
## Order of alerts
In terms of order, it should be Notable Death -> Major -> Minor -> Announcement and then in date updated order.
## Scheduling alert banners
Scheduling the publishing and unpublishing of alert banners is done using the [Scheduled Transitions](https://www.drupal.org/project/scheduled_transitions) module. Scheduling is not enabled by default. To turn it on just enable the Scheduled Transitions module.
## Disable provided CSS.
This module will provide default CSS colours so it can be used out the box. If you wish to theme these yourself, you can disable the provided CSS with the following code in your themes `THEMENAME.info.yml` file:
```yaml
libraries-override:
localgov_alert_banner/alert_banner:
css:
component:
css/localgov-alert-banner.css: false
```
## Maintainers
Current maintainers:
- AndyB https://github.com/andybroomfield