Skip to content

Development

Collections define the structure of your data model. You can create new ones from Settings → Data Model → Create Collection.

  1. 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).
  2. Do not add a status field and check the “Singleton” checkbox.
  3. Click the checkmark to save and go to the collection’s structure page.
  4. Add the necessary fields.

Repeating items collections can be used for things like blog posts.

  1. Give it a name lik e.g., hawaii_blog_post.
  2. Add the status field and do not check the “Singleton” checkbox.
  3. Click the checkmark to save and go to the collection’s structure page.
  4. Add the necessary fields.

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”
  1. Create an Access Policy

    1. Go to Settings → Access Control → Roles → Create Role.
    2. Name it Hawaii Edit.
    3. Under Permissions, grant the desired permissions (e.g., Create, Read, Update) for all collections prefixed with Hawaii.
    4. Ensure that the System Collections have the default permissions checked.
  2. Create a User Role and Assign the Policy

    1. Go to Settings → Access Control → Roles and create a new role named Hawaii Editor.
    2. Under the Users section for this new role, you can add new or existing users.
    3. Under the Permissions tab, set the permissions for the collections.