Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

Content model for emergency services

Shipped Exponential classes that fit an emergency service site and recipes for Incident update, Preparedness guide and Station classes - few fields, fast to fill on a phone, with an end time for automatic hiding.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/levels/emergency-services/content-model.md

On this page

Content model for emergency services

This page is for website creators and project managers who design the classes of an emergency service site. Incident content is written under pressure, so its class has few fields. The classes and datatypes named exist in Exponential (sevenx_classes, kernel/classes/datatypes/); the class editor is in Content classes for websites.

Contents

  1. Shipped classes that fit
  2. Class to add: Incident update
  3. Class to add: Preparedness guide
  4. Class to add: Station
  5. Design rules for incident content

Shipped classes that fit

ClassIdentifierUse
Folderfolderincidents, prevention, services, about
Articlearticlenews, press releases
Filefilereports, plans, leaflets
Job positionng_job_positionrecruitment, with an application deadline
Eventeventopen days, community safety events
Image, Galleryimage, galleryphotos with alternative text
Linklinkwarning services, partner agencies

Class to add: Incident update

AttributeIdentifierDatatypeRequiredWhy
HeadlinetitleText line (ezstring)yeswhat and where
StatusstatusSelection (ezselection)yesongoing, under control, ended
What to doactionText block (eztext)yesinstructions, plain text, works on every device
DetailsbodyXML block (ezxmltext)noroad closures, shelters, background
AreaareaTags (eztags)noa tag tree of areas
UpdatedupdatedDate and time (ezdatetime)yesshown at the top
Hide afterhide_dateDate and timenoused by hide.php

Text blocks rather than rich text for the key fields: they are quick to type on a phone and render as plain text everywhere, including in RSS readers. Configure automatic hiding in settings/override/content.ini.append.php:

[HideSettings]
RootNodeList[]=<node id of the Incidents folder>
HideDateAttributeList[incident_update]=hide_date

Clear the INI cache afterwards (php bin/php/ezcache.php --clear-tag=ini); hide.php runs in the global cronjob part (Cronjobs).

Class to add: Preparedness guide

AttributeIdentifierDatatype
TitletitleText line
In shortsummaryText block
StepsbodyXML block (numbered steps)
Checklist to printchecklistObject relation to a File (an accessible PDF)
For whomaudienceTags (households, businesses, schools, people with disabilities)
Next reviewreview_dateDate (ezdate)

Class to add: Station

AttributeIdentifierDatatype
NamenameText line
AddressaddressText block
Non-emergency contactcontactText block
ServicesservicesTags
ImageimageImage (ezimage)

Design rules for incident content

RuleWhy
Few required fieldsfaster publishing under pressure
No required imagean image slows publishing; add one later if useful
Dates as datesordering, "updated" display and automatic hiding
One object per incident, updated in placeone address that people share; history in the versions
Separate objects for separate incidentsa clear list of what is ongoing

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x