Emergency Alerts

Component type

module

Categories

Maintenance status

Development status

Downloads

137

Component created

Component changed

Emergency Alerts

A Drupal 8 module to provide emergency alerts. These are the important announcements you might see at the top of academic sites.

Quickstart

Enable this module and configure to set alert title and message, severity, and to turn on block or full page override.

(optional) Add region emergency_alert to your theme and in templates. For example (in theme.info.yml),

Conf Alert

Component type

module

Maintenance status

Development status

Component created

Component changed

As you know, you can override variable values at runtime by adding them to the global $conf array via settings.php.

However, there is no notification in admin/config forms UI to signify that a variable has been set via settings.php. Site admins may get confused as to why any changes to the field value don't show on submitting & reloading the form.

This module adds such a notification - disabling the field in any admin forms and adding a message to the field description.

URL patterns special chars

Component type

module

Categories

Maintenance status

Development status

Downloads

158

Component created

Component changed

Just enable the module and you'll get the following behaviour.

When setting URL aliases (Configuration > Search and Metadata > URL Aliases), you can specify replacement patterns like: url?key=[term].

This is usually URL encoded (ie: url%3Fkey%3D%5Bterm%5D) and you'll end up either in a 404 page or the parametren will be ignored.