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

Content model for municipal and local government

Shipped Exponential classes that fit a municipal site and recipes for Service, Meeting, Public notice and Contact point classes with real datatypes, kept small enough for a small team.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/levels/municipal-and-local/content-model.md

On this page

Content model for municipal and local government

This page is for website creators and project managers who design the classes of a city, town or council site. A small team maintains the site, so the model stays small: four added classes beside the shipped ones. Every class and datatype named exists in Exponential (sevenx_classes, kernel/classes/datatypes/, the extensions named); the class editor is described in Content classes for websites.

Contents

  1. Shipped classes that fit
  2. Class to add: Service
  3. Class to add: Meeting
  4. Class to add: Public notice
  5. Class to add: Contact point
  6. Keeping the model small

Shipped classes that fit

ClassIdentifierUse
Folderfolderservice areas (Waste, Parking ...), the council, about us
Articlearticlenews, explanations
Filefileagendas, minutes, forms to print
Event, Event calendarevent, event_calendarthe events calendar
Feedback formfeedback_formcontact and simple report forms
Pollpollquick opinion questions (not consultations)
Linklinklinks to the online services of other systems
Image, Galleryimage, galleryphotos

Class to add: Service

AttributeIdentifierDatatypeRequired
Name of the servicetitleText line (ezstring)yes
In shortsummaryText block (eztext)yes
Who can use iteligibilityXML block (ezxmltext)no
What it costscostXML blockno
How to applyhow_to_applyXML blockyes
Apply onlineonline_linkURL (ezurl)no
How long it takesprocessing_timeText lineno
ContactcontactObject relation (ezobjectrelation) to a Contact pointno
Related documentsdocumentsObject relations (ezobjectrelationlist)no
Topics and life eventstagsTags (eztags)no
Next reviewreview_dateDate (ezdate)yes

The required review date is a reminder that service information goes stale. A list of services past their review date can be fetched in a template for the web team's dashboard page.

Class to add: Meeting

AttributeIdentifierDatatypeWhy
BodybodySelection (ezselection)council, a committee
Date and timemeeting_dateDate and time (ezdatetime)
PlaceplaceText linethe room and address
AgendaagendaXML blockthe items, with links to papers
PaperspapersObject relationsFile objects
MinutesminutesObject relationthe File object once approved
StatusstatusSelectionscheduled, agenda published, held, minutes approved, cancelled
WatchwebcastURLa recording or stream, if any

See Council meetings and local services for the publishing cycle.

Class to add: Public notice

AttributeIdentifierDatatypeWhy
TitletitleText line
Notice typenotice_typeSelectionplanning, road closure, statutory, other
TexttextXML block
Valid fromvalid_fromDate
Hide afterhide_dateDate and timeused by hide.php
DocumentsdocumentsObject relations

To hide notices automatically, name the class and its date attribute in content.ini:

# settings/override/content.ini.append.php
[HideSettings]
RootNodeList[]=<node id of the Notices folder>
HideDateAttributeList[public_notice]=hide_date

Then clear the INI cache (php bin/php/ezcache.php --clear-tag=ini) and make sure the cronjob runs hide.php (it is in the global part, [CronjobSettings] Scripts[]). Hidden notices stay in the administration for the record (Cronjobs). The other cronjob, unpublish.php, moves objects with an attribute named exactly unpublish_date to the trash; prefer hiding for notices you may have to prove were published.

Class to add: Contact point

AttributeIdentifierDatatype
Name (a team or desk, not a person)nameText line
AddressaddressText block
Opening hoursopening_hoursXML block
PhonephoneText line
E-mailemailEmail (ezemail)
Accessibility of the buildingaccessXML block

Keeping the model small

TemptationBetter
A class per departmentone Service class; the department is a section
A class per notice typeone Public notice class with a Selection
Free-text datesdate attributes, so lists and expiry work
Named officials as contactsteam contact points; people change, desks stay

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