User Guide
Content Type

Content Type Configuration

Beave CMS allows users to create custom content types to organize and manage their content efficiently. The following documentation explains the configuration fields for creating a new content type.

  • Content Type Name: Enter a name for your new content type.

  • URL Slug: Enter the URL slug for your content type. This slug is used to create the endpoint for accessing the content type's API.

  • Nav Positions: Choose the navigation positions where you want to show your content type in the CMS admin panel.

  • Nav SVG Icons: Select an SVG icon from the predefined list or add a custom one by inserting the SVG code in the respective field.

  • Single/Collection: Toggle to choose whether your content type represents a single item or a collection of items.

  • Editor Type: Choose the editor type for your content type. You can select either Pagebuilder or Manual editor.

  • Attachable Types: You can select other content types to attach with the current content type. This allows you to create relationships between your content types.

  • Has Slug: Toggle to decide whether your content type should have a slug field or not.

  • Activating: Toggle to activate your content type. Only active content types are visible in the admin nav and front-end API.

  • Show Nav: Toggle to decide whether to show the front-end nav menu on the collection API or detail API of the content of this content type.

  • Has Meta: Toggle to activate the meta fields for your content type. If you activate this, a tab for meta fields will be activated.

The following is the documentation for configuring fields and other settings for a newly created content type:

  • After creating a content type, the list of all available content types will be displayed. Click on the recently created content type to open its details.

  • By default, there will be two tabs: "Details" and "Fields". The "Details" tab will display the basic information about the content type such as its name, slug, and nav position.

  • The "Fields" tab is where you can configure the fields for the content type. Click on the "Add Field" button to add a new field. You can choose from various field types such as text, number, date, image, and more. Each field type has its own settings such as label, help text, default value, and validation rules.

  • To add a field to a field group, click the "Add Field" button next to the field group name. A modal form will appear where you can select the field type (text, email, number, textarea, rich text, dropdown, or media) and configure the field name and minimal validation rules.

  • You can also reorder the fields by dragging and dropping them in the desired position.

  • If you checked the "Has Meta" checkbox while creating the content type, there will be an additional tab called "Meta Fields". This is where you can configure the global meta fields for the content type. These meta fields will be displayed when accessing the collection API of the content type.

  • After making all the necessary changes, click the "Save" button to save the field group and any associated fields.

  • You can now create content for the newly created content type by going to the "Content" section of the CMS and selecting the content type. The fields and meta fields that you have configured will be displayed in the content creation form.

Note that these steps may vary slightly depending on the specific implementation of the Beave CMS.