In the previous unit we discussed content requirements, focusing on the areas we’d need to consider when planning a site, such as content types, blocks, user requirements (both for the site visitor and the CMS user), user roles and permissions and content moderation workflow.
Content requirements usually affect the site structure and data models, including content types, fields, block types, taxonomies and media types. Considering our fictional example of the Jobs Portal, let’s assume these are the outcomes of the content planning:
Defined content types, fields and widgets
Defined content display and View Modes
Defined Media types, fields and media display
Defined taxonomy vocabularies
Defined user roles and permissions
Defined content moderation workflow(s)
GovCMS uses content types to create a variety of pages to meet different needs. For example, news pages look different to event pages. Content types also allow you to capture different information for various purposes. For example, an Event content type captures event date (or dates) and location(s), unlike any other content types.
GovCMS comes with many content types out-of-the-box (OOTB). In this section you’ll learn about structuring content and planning content types.
New content types can be easily created in GovCMS. Follow these simple steps to create a new content type:
Plan the content type. Think about what you should call it, how it should be displayed and what fields you’ll need.
Create a content type
Configure default settings
Add custom fields
Configure form display and widgets
Manage display and view modes
Add taxonomy
Update permissions
In this exercise we’ll compare content form and display using the default content types in GovCMS. We explore some fields and form widgets and how these can change between content types.
Click Content → Add content.
Create a Standard page titled “About us” Use a Lorem Ipsum generator to add placeholder text. Do not add the page to the menu and keep all other defaults. Publish the page.
Create a News and Media article titled “Salary rates in 2019 for Government employees” Again, Use a Lorem Ipsum generator to add placeholder text. Do not add the page to the menu and keep all other defaults. Publish the page.
Go to Admin → Content. Compare the editing forms and content display. News and Media and Standard Pages have different default settings.