The Content area is the CMS of your site.
You define collections, and you fill them with items.
Example: a collection "Blog posts" with the items "First post" and "Second post".
Collections and items
- A collection defines the fields of one content type.
- An item is one entry that follows the collection.
- The Designer shows the items in dynamic lists, sliders, and detail pages.
Create a collection
- Open the Content area.
- Click New collection.
- Type a name. Example: "Blog posts".
- Add fields. Click Add field for each one.
- Select a type for each field.
- Click Save.
Field types
| Type | Use it for |
|---|---|
| Title, Text, Rich text | Names and text |
| Content | The long body, made of blocks |
| Number, Date, Date and time | Values and dates |
| Boolean, Select, Multi-select | Choices |
| URL, Slug | Addresses |
| Image, Images, Color | Visual values |
| Reference | A link to one item in a different collection |
| Multi-reference | Links to several items, in your order |
| List, Group | Repeated values and grouped fields |
Show a field only in some cases
A field can have a display rule.
The field then shows only when a different field has a given value.
Example: the field "Video address" shows only when "Has video" is on.
- Open the field settings.
- Add the display rule: select the other field, the condition, and the value.
- Save the collection.
Connect collections with references
Example: each blog post has one author.
- Make a collection "Authors".
- In "Blog posts", add a field with the type Reference.
- Select "Authors" as the target collection.
- In each blog post, select the author.
In the Designer, you can then show the author name on the blog card.
Create and publish an item
- Open a collection.
- Click New item.
- Fill the fields.
- Save the item.
A new item is a draft.
A draft goes live with the next publish, when you set it to go live.
The item list shows the state of each item.