CMS: collections, clients, languages and publishing
The CMS lets a site have repeating content (news, events, projects, products, team, jobs, FAQ, testimonials) that is edited in forms instead of on the canvas, lets clients edit that content and selected texts without touching the design, and lets sites exist in several languages. This page explains the concepts and how each role uses them.
Concepts
| Term | Meaning |
|---|---|
| Collection | A kind of content with its fields, e.g. News with image, summary, text, category; part of the design |
| Entry | One item of a collection, e.g. one news post: title, date, URL name, field values, translations; content |
| Collection list | An element that shows entries; its children are the item template |
| Detail page | A page that is shown once per entry, at <path>/<url-name> |
| Binding | "This setting shows that field of the entry", e.g. a heading shows the entry's title |
| Editable | Texts and images of an element that clients may change |
| Content editor | A client invited to one site |
| Language | The default language at /, more languages under /<lang>/ |
Why design and content are separate: the design goes through the administrator's review and versioning; content changes often and may go live without review. Entries can be edited by several people at once (each entry has its own version) without conflicting with the designer's work on the pages.
For designers (site owners)
- Create a collection: in the editor, Content → Collections → Add a collection from a
template (News, Events, Projects, Catalog, Team, Jobs, FAQ, Testimonials) or empty. Adjust the
fields: label, type, required, translated, options (choice and tags), the target of a
reference, and a help text for editors. Every entry also has a title, a date and a URL name. A PDF file field holds a
download per entry (e.g. a data sheet); show it with a Download element bound to the field.
The field id (e.g.
summary) is fixed once created, because entries store values under it. - Detail page: Create detail page generates a page that shows every field. Change it like any page; elements inside it can be bound to fields (Show from entry above each setting). The preview shows a real entry (choose which in the top bar) or an example entry.
- Lists: Add a list page, or drop a Collection list onto any page. Choose the collection, how many entries, an optional filter (Only entries where field … has the value …), pagination, visitor filters (choice/tags fields) and a search box. The children of the list are the item template, shown once per entry; Build item template from the fields creates a good start. With Whole item links to the entry the item is clickable. Display: Slider shows the entries as slides (at most 20, the newest first unless the collection sorts differently) with arrows, dots and optional autoplay; pagination, visitor filters and search are not available in a slider. Display: Lightbox shows the entries as thumbnails that open large in a window, with title, description, video and a button, one after another (see Elements gallery). Its item template is one Lightbox item: Build item template from the fields binds it to the picture (a second picture field becomes the picture in the window), title, formatted text, a text field named like "video" (a YouTube or Vimeo link) and the first choice field (as category); with a detail page it gets a Read more button. Visitor filters and search work here too. Columns per screen size and the visitors' thumbnail size switch work for grids and lightboxes (see Elements gallery).
- References both ways: a reference field (e.g. Project → Material used) shows the
linked entry. On the material's detail page, a list of projects with the filter
field = material, value =
@currentshows "projects that used this material". - Editable texts: select an element and tick Clients may edit its texts and images.
- Languages: in the page panel under Site → Languages set the default language and add others. Switch the editing language in the top bar: texts and page titles you type are then translations (empty = default text); everything else applies to all languages. Collection fields marked Translated get a translation per language in each entry.
- People: on the content screen (Content in the sites list) under People, invite clients by email. Everyone gets an invitation link (valid 14 days) and has access only after accepting it: new addresses create a client account with it, existing accounts accept while signed in. (Adding an existing account directly would let you find out which addresses have accounts and give access without the person agreeing.)
Removing a collection that still has entries is refused; delete the entries first.
For clients (content editors)
Clients see the shared site in their sites list and open the content screen:
- Collections: a list per collection (search, status), a form per entry with a field for every type, a language switch for translations, Save as draft, Publish (marks the entry as ready) or Schedule (go live at a given time), Delete, and Preview of the saved entry's detail page.
- Page texts: the texts and images the designer released, per page and language.
- Website: Update website (or Send changes for review) sends the entries and texts to the live site.
Clients cannot change the design, create sites or themes, or see other sites. Their uploads count against the site's limits.
Publishing in detail
designer: Publish… ──► publish request (full) ──► admin approves ──► bundle deployed
tree + theme + published entries frozen in one version
client/owner: Update website ──► content version = approved tree
+ editable texts from the current tree
+ current published entries (frozen)
auto-publish on: deployed at once
auto-publish off: publish request (content) ──► admin approves ──► deployed
scheduler (every minute): a frozen entry's go-live time has come
──► the approved version is rebuilt and redeployed
- A content update starts from the last approved design. Design changes the designer made since then stay unpublished until the designer publishes them and the admin approves.
- Entries are frozen with every publish version, including scheduled ones with their time. So a scheduled entry needs no second review: it was part of what was approved, and the scheduler only rebuilds that version when the time comes.
- Drafts are never published. Publish on an entry only marks it as ready; the website changes with the next update.
- The site must have been published once (design approved) before content updates are possible.
Languages in exported sites
| Address | Shows |
|---|---|
/about | page in the default language |
/en/about | page in English (/en/ for the home page) |
/news/first-post, /en/news/first-post | entry detail page (URL name is the same in all languages) |
/blog/page/2 | second page of a paginated list |
/news/feed.xml, /en/news/feed.xml | RSS feed (sites with a public address) |
unknown, /en/unknown | the 404 page in the matching language, status 404 |
Pages carry hreflang alternates, the sitemap lists every page and entry in every language, and
the navigation, language switcher, dates and the few built-in texts (pagination, filters) follow
the page language.