The First MetaModel
Building the first MetaModel is intended to provide an easy introduction to the implementation. The task for the first project is a simple employee list with only a few content fields. The list should be maintainable in the backend and can be displayed as a table in the frontend. Some aspects such as sorting, filtering, etc. have been intentionally omitted.
The implementation is based on the Components of a MetaModel — more notes on the templates used and possible relations can also be found there. If you are unsure about the best way to start, take a look at the article on the workflow.
For an easier overview of where to find what, the
"MM site map" is available for download.
Task:
Create an employee list that can be maintained in the backend
Store the values: last name, first name, email, department
Additional field for publishing a record
Output the list as a table in the frontend
Prerequisites:
Current Contao (LTS) — see Installing and Updating MetaModels
Current MetaModels matching the Contao version — see Installing and Updating MetaModels and Getting Started with MetaModels
Confident use of Contao
Understanding of Components of a MetaModel