In Agility CMS, Modules are the individual functional components that populate a page layout. Developers create a toolbox of modules Editors can use to compose what type of content is on each page, and in what order they appear.
Developers define what modules are available in the CMS and what fields they have. Each module defined in Agility CMS should correspond to a Code file within your digital solution.
Generally speaking, if you don't have any modules defined or editors don't add modules to pages, then there won't be anything to output for your pages.
What's in a Module?
A module in Agility CMS has a name and fields.
The name is a friendly representation of the module's intended functionality such as Posts Listing or Rich Text Area. This way, editors can easily identify them and add them to pages appropriately.
Fields represent content that can be managed by editors. These fields are then used in code (passed as props) to display the content the editor intended.
Sample Module
The image below shows a Module called "Sample Module" which is constructed of a Title (Text Field), Date (Date Field), and Colors (Dropdown List Field).
Below is an image of how the module looks when added to a page for Editors to edit and interact with.
Comments
Please sign in to leave a comment.