Development
Creating Collections
Section titled “Creating Collections”Collections define the structure of your data model. You can create new ones from Settings → Data Model → Create Collection.
Creating Section Collections
Section titled “Creating Section Collections”- Create the Collection:
- For page-specific sections, prefix the collection name with the page it will be used on (e.g.,
hawaii_about_hero). - For reusable sections, do not prefix (e.g.,
hawaii_cta).
- For page-specific sections, prefix the collection name with the page it will be used on (e.g.,
- Do not add a
statusfield and check the “Singleton” checkbox. - Click the checkmark to save and go to the collection’s structure page.
- Add the necessary fields.
Creating Repeating Items Collections
Section titled “Creating Repeating Items Collections”Repeating items collections can be used for things like blog posts.
- Give it a name lik e.g.,
hawaii_blog_post. - Add the
statusfield and do not check the “Singleton” checkbox. - Click the checkmark to save and go to the collection’s structure page.
- Add the necessary fields.
User & Access Control
Section titled “User & Access Control”You can create users with limited access to specific parts of the CMS.
Example: Creating a “Hawaii Editor” Role
Section titled “Example: Creating a “Hawaii Editor” Role”-
Create an Access Policy
- Go to Settings → Access Control → Roles → Create Role.
- Name it
Hawaii Edit. - Under Permissions, grant the desired permissions (e.g., Create, Read, Update) for all collections prefixed with
Hawaii. - Ensure that the System Collections have the default permissions checked.
-
Create a User Role and Assign the Policy
- Go to Settings → Access Control → Roles and create a new role named
Hawaii Editor. - Under the Users section for this new role, you can add new or existing users.
- Under the Permissions tab, set the permissions for the collections.
- Go to Settings → Access Control → Roles and create a new role named