Content on pages

The Designer shows your items on pages in two ways: a content template for each item, and lists on any page. You set both in the Designer. The items come from the Content panel.

Content templates

Each collection has one content template. It is the design of the page of each item. Example: the template of Blog gives each post the address /blog/<slug>, such as /blog/summer-pop-up.

The App makes the template when you make the collection.

  1. Open the Designer.
  2. In Pages, find Content templates.
  3. Click the template of the collection. Example: Blog.

The Design panel shows one item in the template. To show a different item, select it in Preview item in the top bar.

Show a field on the template

  1. On the template, select an element. Example: the heading.
  2. In Element settings, find the Content section. From shows the collection.
  3. In the row of the element, select a field. Example: in Text, select Title.

The row depends on the element.

RowElementsFields
TextHeadings, paragraphs and other textText values, such as Title or Excerpt
Rich contentA container for the bodyA Content field
Image sourceImagesAn Image field
Alt textImagesA text field
LinkLinksA Link field, or the page of the item

A Reference field shows as a group in the list. Open the group to select a field of the linked item. Example: under Author, select Name.

Show a list of items on a page

  1. In the Add menu, open Dynamic (CMS).
  2. Select Content, then put it on the page.
  3. In the Content section, at Connect to, select the collection. Example: Blog.
  4. Select the List in the Content block.
  5. Set the list. See the table below.
  6. Select the elements in the first row of the list, and select their fields.

The list repeats the first row for each item.

SettingWhat it does
LayoutBlock, Bulleted list, Numbered list or Slider
FilterClick Add filter to show only the items that match. Example: Roast is Dark.
SortClick Add sort to set the order. Example: Published on, newest first.
LimitThe maximum number of items. 0 shows all items.
Start atThe number of items to skip before the first item
When emptyWhat the page shows when the list has no items

Dynamic (CMS) also has List, to add a second list in a Content block, and Slider, a carousel with one slide per item.

Which items show

A list shows only the items that go live at the next publish. These are items set to Publish with all required fields filled.

A Draft, Archived or Incomplete item does not show in a list, also not on the Design panel. So the Design panel shows what the live site will show.

When a list is empty

If a list has no items to show, the Content section shows Empty list and the reason.

In When empty:

  • Hide hides an element, for example the section around the list, when the list is empty.
  • Show shows an element only when the list is empty. Click Add empty state to add one. Example: "No posts yet."

Let visitors filter a list

  1. In the Add menu, open Dynamic (CMS).
  2. Select Filter, then put it on the page.
  3. In the Content section, at Filters, select the list.
  4. Select the search field in the filter.
  5. At Field, select the field that the search field filters. Example: Title.
  6. At Match, select how the typed value is compared to the field.

You can add more inputs and select boxes to the filter. Set Field and Match for each one.

For display rules and the other settings of an element, see Elements — controls and interactions.