Create/Edit CMS Models

What is a CMS model?

Content Management System (CMS) models offer a user-friendly interface enabling users to effortlessly create, edit, and publish content. Tailored to specific use cases, CMS models can include unique fields for post creation, enhancing the dynamism of the content. These custom fields allow for advanced filtering and flexible display options, making it easy to present information in various formats.

CMS models help differentiate between various types of content. They can include custom reactions (if enabled) and unique permissions.

Note: Bettermode offers pre-built CMS models with certain Space Templates

CMS Creation

To create a CMS model:

  1. Go to the Administration, navigate to the Content section, and select the CMS tab.

  2. Click on the + to create a new CMS model.

  3. Name the CMS model, assign an icon, and choose the types of interactions that should be available.

    Reply Type

    • Disable replies - no one can reply to posts that are created using this CMS model

    • Answer

    • Comment

    Reaction Type

    • All Emojis - allow the user to select any emoji as a reaction

    • Custom reactions - Preselect reaction(s) that members can choose from either using emojis or icons from the icon library

    • Disable reactions - no one can react to posts that are created using this CMS model

    Single Choice Only (toggle)

    Toggle this option on to limit users to select only one reaction from the available reactions per post

  4. Click Create

  5. Add and configure custom fields, click Create

  6. Navigate back to the main page for the selected CMS page.

  7. Click Update.

Fields

Every CMS model MUST have a title and content field. You can add more fields based on your needs by clicking on + Add Field or the +.

You can choose between single fields or multiple fields:

Single fields - only one value can be selected or added (for example, a single-choice drop-down menu)

Multiple fields - multiple values can be selected or added (for example, a multi-select drop-down menu)

Single fields:

  • Text - a standard text field for a small amount of text. For example, this can be used for a Job Title field.

  • URL - allow users to add a URL as either a link or a button. For example, an RSVP link to an event registration page.

  • Email - add a field to display or collect emails.

  • Number - a field that only accepts a numerical value. For example, this can be used to collect or display a phone number.

  • Textarea - a field to add a large amount of text. for example, this can be used as a description field. Please note that this field only accepts text!

  • Richtext - a field to add rich content such as embedding videos, attaching files, adding links, and formatting text. For example, this field is used for adding content to a post.

  • Option - a drop-down field that offers pre-chosen options. Only one option can be selected. For example, this field can be used to assign regions or categories.

  • Date - a field to show or collect a date. For example, this can be used to show an expiration date or a start date.

  • Date time - a field to show or collect a date and time. For example, this can be used to show the date and time of an event.

  • Toggle - a toggle field. For example, this can be used as a ā€œfeaturedā€ field. If a post is toggled on, it is marked as featured.

  • Checkbox - a checkbox field. For example, this can be used to mark a post as resolved.

  • Image - an image field. For example, this can be used to feature a cover image for the post.

  • File - a field to add a single attachment to a post. For example, this can be used to attach a worksheet for learning modules.

  • Member - a field to call out a single member. For example, this can be used to highlight a course instructor or subject matter expert

  • Space - a field to select and link to a space. For example, this can be used to bring members back to the parent space.

Multiple fields

  • Options - a drop-down field that offers pre-chosen options. Multiple options can be selected. For example, this field can be used to assign categories.

  • Images - a field to add images. For example, this can be used to showcase image examples in a portfolio project.

  • Files - a field to add attachments to a post. For example, this can be used to attach worksheets for learning modules.

  • Members - a field to call out members. For example, this can be used to highlight webinar hosts.

  • Spaces - a field to select and link to spaces. For example, this can be used to show which spaces the post relates to.

Field settings:

General:

  • Name - Give the field a name.

  • Key - a unique identifier for the field. You will not be able to change it in the future and it is usually automatically generated based on the field name.

  • Required - a toggle to indicate if the field should be required.

  • Placeholder (optional) - text that appears in the field box to prompt the user. For example: choose a category.

  • Helper text (optional) - small text that appears below the field box, explaining the field

Permissions:

Who can see this this field?

  • Everyone - The default option. This should be enabled if you want to use this field as a filter.

  • Staff only - Only staff can see this field. For example, a textarea box for internal ticket notes.

  • Author and Staff - Only the author of the post and staff can see this field. For example, a textbox field for collecting the userā€™s phone number to contact them directly.

Who can update this field?

  • Author and staff - the default option.

  • Staff only - only staff can update this field. For example, the toggle field to feature a post.

How to edit a CMS model

  1. Go to the Administration, navigate to the Content section, and select the CMS tab.

  2. Click on the CMS model to edit

  3. Under the ā€˜Fieldsā€™ tab, click on Manage model fields

  4. Make the adjustments needed

  5. Navigate back to the main page for the selected CMS model

  6. Click Update.

Enabling a CMS model in a Space

Once the CMS model is created, you need to enable it in a Space so it can be used.

  1. Go to Administration.

  2. Go to theĀ ContentĀ section of the Administration and select theĀ SpacesĀ tab > find the Space to edit and click [...] >Ā Settings. This takes you to the Space Setting page. Select CMS models.


    Alternatively, go to the Space and access Space settings through the Space Header block.

  3. Toggle on the CMS model that you would like to enable.

  4. Set the permissions accordingly:

    • Who can post:Ā Define if only admins are allowed to create a new post in this space or if all members who have joined this space can create a post.

    • Who can react and comment:Ā Define who is allowed to react to or comment on the posts created in the space.

  5. Click Update.

Related:

Contact Us

Do you still need help? Learn how to get in touch with the Bettermode Team.