COVID-19 - Visit the Hannon Hill Coronavirus Resource Center

Emergency Alerts

Campus Safety is absolutely critical and the ability to get a message across all of your webpages quickly is very important. We developed this code to help our users get important messages out as quickly as possible either from within Cascade CMS or via an already used Alert System.

INCLUDED FILES

Format.vm

  • Loops through an Index Block of all Emergency Alerts
  • Checks if the Emergency Alert is "Active" and has not "Expired"
  • Outputs Active Alert

Data-Definition.xml

  • Includes "Active" Toggle
  • Includes Text Field for Alert Message

Server-Side-Include.xml

  • Use this in your Template when declaring your <system-region>
  • Attach the Alert Index Block and Format.vm in the Internal View
  • For the External View - create a basic template with one region and attach the Alert Index Block and Format.vm
  • Use the Publish location in the path/to/alert section of the External View

Download Now