Emergency Banner: creating and managing

The Emergency banner is piece of content called a Block. In Drupal, this means it exists on all pages by default, like the header, navigation, and footer. However, it can be restricted to certain pages, content types, or URL patterns.

This article will detail how to create a new banner, and update an existing banner.

Create a new Emergency Banner

  1. Navigate to the Block Layout:
    Structure > Block Layout

    clicking on Structure then Block Layout on admin menu

  2. Find the Emergency Banner region and click "Place Block" button:

    Emergency Banner region

  3. Choose Add custom block:

    add custom block

  4. Choose Folwell Component:

    add Folwell Component

  5. Add a description, then choose Banner from the Folwell Component options

    list of folwell component options

  6. Add your message and link, if applicable
  7. Choose the Banner Type.
    The "Emergency" type will produce a banner with a red background and "emergency" icon.
    The "Maroon" and "Gold" options turn the banner background those colors, with no icon. For examples, see this site: https://ur-clone.dev.umn.edu/paragraph-test
  8. Save when you're done editing.

Block configuration options

With the content created, now you there are options for where to display the block.

  1. Uncheck the "Display title" option, then choose the "Emergency Banner" in the Region drop-down options menu:

    Emergency Banner region selected in Region drop-down menu

  2. If you want the block visible on every page, save the block.

Block visibility options

By default, the block will be visible on all pages, similar to the site identity, footer, and navigation.

However, there are options to limit the display to specific pages, microsites, or paths.

To limit the visibility to a microsite, choose one from the "Block Visibility Groups" drop-down.

To use path logic, choose the Pages tab, and enter the path URL where the block should be visible (or choose to hide on the specific path):

setting up a path logic visibility option

Edit existing Emergency Banner

To edit an existing Banner, go to:
Structure > Block Layout > Custom Block Library

All the custom blocks on the site will be listed there. Choose edit on the block you'd like to edit.

Once saved, the updates should be visible to all users immediately.

Disable, remove, or delete Emergency Banner

Navigate back to the Block Layout page:
Structure > Block Layout

In the Operations drop-down you have the option to Configure, Disable, or Remove.

Configure allows you to edit the name, region, and visibility.

Disable turns the block off, but leaves it on the layout page, but grayed-out. Users will not see it on the site, but it's there should you want to enable it again later.

Remove turns the block off and removes it from the layout page. The content is still available in the Custom Block Library should you want to add it again.