Emergency Notice Content Type
ID: 203
Name: Emergency Notice
Description: Add a notice to the top/header of all pages.
Instructions
For each notice to be added, create a separate piece of content in “Home > Site Assets > Emergency Notices”. Adding a notice to one section will automatically add it to all pages of the website. The severity of the notice will determine the color used. In addition, "Emergency" notices cannot be dismissed / closed.
Ideally, this Content Type should only be used for real Emergency Notices as it uses JavaScript to display the notice on the page, which does cause CLS issues. For notices that are not an emergency, use the Site Wide Notice Content Type.
Add a Description, it is recommended to add 1 paragraph of text.
The Notice Type changes the color of the notice and whether it can be closed by a user:
- Emergency: Red (notice cannot be dismissed)
- Notice: Blue
- Warning: Amber
The Instant Publish Listener is configured at System Administration > System settings > Preview & publish to automatically publish pages that use the Emergency Notice Content Type. This means that when a notice is added or updated, the section will automatically publish, and the notice will appear on all pages of the website – no separate publish action is required.
Example:
Content Element Details
Name | Description | Size | Type | Required |
---|---|---|---|---|
Name | The Name Element | 80 Characters | Plain Text | true |
Title | The main title of the notice. This is what shows on the notice itself. | 150 Characters | Plain Text | true |
Description | This is the full text of the notice. The full details of the notice should be displayed here. Users will see this when they click the button ‘learn more’ | 5000 Characters | Html | true |
Notice Type | Choose the severity of the notice | 80 Characters | Select Box | true |