ahebrank/emergency_alerts

This package is abandoned and no longer maintained. The author suggests using the drupal/emergency_alerts package instead.
There is no license information available for the latest version (2875662.x-dev) of this package.

Configurable emergency alert blocks

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Type:drupal-module

2875662.x-dev 2017-05-06 03:01 UTC

This package is not auto-updated.

Last update: 2019-02-20 19:35:22 UTC


README

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

The Emergency Alerts module provides emergency alerts. These are the important announcements you might see at the top of academic sites.

REQUIREMENTS

This module requires no modules outside of Drupal core.

INSTALLATION

CONFIGURATION

1. Navigate to Administration > Extend and enable the module.
2. Navigate to admin/config/emergency_alerts to configure.
3. Navigate to admin/structure/block to place the block.

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

regions:
  content: Content
  sidebar: Sidebar
  footer: Footer Nav
  emergency_alert: 'Emergency alert'

Place the Emergency Alert block created by this module in the region you added above or in any other region.

Copy template html--emergency-alert.html.twig (for full-page alert) to your theme and edit (but keep the page.emergency_alert region)

Copy template emergency-alert.html.twig to your theme and edit as needed.

Add styling for the alert region div with classes:

  • .emergency-alert.announcement
  • .emergency-alert.warning
  • .emergency-alert.danger

MAINTAINERS

Supporting organization: