Products, services, and articles: fields, templates, and standalone pages
When to add an entry to a collection, when to change the shared template, and when one page is enough. Practical catalogue, service, and article examples — without copying a page for every product.
Choose the level to edit
HOBA has three different levels for repeated material. Collection fields describe the data, the shared list page and detail template control how it is presented, and a standalone page is for unique material that does not repeat.
Need another product, service, or article with the same fields? Create an entry in the existing collection. You do not need to make a page by hand: the detail template generates it.
Changing the data every entry can hold? Edit the collection schema: add a field and change its label, type, required flag, or choices.
Changing how all cards or all entry pages look? Edit the shared list page or detail template. One template change affects every entry of that type.
The material is unique and unlikely to repeat? Make an ordinary page: About, Contact, a one-off promotion, or a landing page. A collection would only add fields and a table.
Rule of thumb: if a second object with the same fields will appear tomorrow, it is a collection. If the material is unique, a page is simpler. Do not create a page copy when the site already has a suitable collection.
Example for an electrical contractor: Services for installation, diagnostics, and connections; Products for cable, panels, and breakers; Articles for guides and explanations. These are three collections with different fields. About and Contact remain ordinary pages.
Collection fields are data
Open Admin → site → Content types. New content type offers ready recipes: Blog for an article with a cover, summary, body, author, date, and tags; Catalog for a product with a photo, summary, price, SKU, and stock flag. Blank starts an empty schema.
A preset creates the collection schema and settings. List and detail pages are added separately: the preset does not replace planning the site structure.
A field stores one kind of value: text, long text, rich text, number, price, true/false, date, choice, image, gallery, URL, entry reference, or tags. Every field has a key and a label. The key is the stable name templates and links use to find the value; the label is what editors see.
Change the label, not the key, when you need a different name. The key participates in detail-block bindings. Renaming a key without updating the template leaves blocks bound to the old field, and saving an entry can run into the old key in its data.
A required field is checked when the entry is saved. Set a unit or currency for a price, and choices for a select field. A new field does not fill existing entries: they simply get an empty value. Removing a rich-text field or changing its type deletes that field’s saved RichDocument.
An entry holds a title, slug, position, status, categories, and field values. Include in release includes it in the next release; Exclude from release keeps it as a draft. Saving an entry does not change the public site.
A category is navigation and filtering, not access control. Hiding a category does not hide its documents from visitors; access needs a separate mechanism.
Sensible field sets: a product has a photo, summary, price, SKU, and stock flag; a service has a description, price or range, and duration; an article has a cover, summary, body, author, date, and tags. Do not mix products and services in one collection just because both have a price: different fields quickly become empty columns.
The shared list page and detail template
A list page is an ordinary page with a Collection list block: choose the collection, an optional category, and the card presentation. A detail template is also an ordinary page, but with entry blocks, each bound to a collection field. These are ordinary site pages, not a hidden “templates” section.
Create pages through Pages → Add page. On the list page, add the collection list block. On the detail page, place blocks for the fields you need: title, photo, summary, body, price. The Fill from schema button on the collection screen adds one block per field to an existing page; then open that page in Composer and set its order and styling.
In the content-type card, set Default list template Page and Default detail template Page. These are links to the chosen pages, not copies of their content. The detail template must contain at least one entry block for this collection: that is how Core knows the page is for entries and generates a separate page for every published entry.
The list template is used as the basis for category listings and similar generated pages. A list on an ordinary page only needs the Collection list block; the default page matters when a category should build its own listing.
One template serves every entry. Editing the template changes all entry pages after a new release; editing an entry changes only its values. If an entry has no standalone page, the document list shows No standalone page — check the detail template and its entry block.
An entry’s primary category can select a different detail presentation; additional categories only affect inclusion in listings. If you do not need different presentations, do not add category overrides.
Do not create a second page with the same entry blocks “just in case”: a collection has one authoritative entry destination. Use a category setting or a separate collection for variants, not a copied template.
Articles and RichDocument
An article is a useful example. The Blog preset creates photo, summary, body (rich text), author, published_on, and tags. summary is short plain text for a teaser; body is the full article.
The Body field opens the rich-text editor: paragraphs, headings H2–H6, bold, italic, code, links, bulleted and numbered lists, a quote, tables, and images from the media library. Do not add an H1 in the body: the entry page takes its heading from the entry Title. Start article sections at H2.
The editor stores two related things: plain text for search, cards, and simple output, and a RichDocument v2 structure for formatting. Save through the editor instead of pasting HTML into the field. Unsupported pasted markup (for example H1, img, iframe, or video) is rejected, and the draft stays in the editor.
Add links with the Link button: an external link needs a full HTTP(S) address, while an internal link selects a page, entry, or media file. For an image, choose a media-library file and set alt text and a caption; an empty alt is acceptable only for a decorative image.
Removing the Body field or changing its type deletes that field’s saved RichDocument. Machine translation creates a draft and clears formatting from translated rich-text fields, so recheck headings, links, tables, and images after translating.
Example article: “How to choose a breaker for an apartment”. A cover, a one-sentence summary, a body with H2 sections, a comparison table, a photo of the panel, and tags. All of that is data in one entry; the detail template supplies the presentation, not each article separately.
Editing and verification workflow
Start with “is this data, presentation, or one page?”. Then edit the right level and avoid changing a neighbouring one without a reason.
One entry. Open Content types → collection → entry. Check its locale, status, and category, change the field values, and save.
A new entry. Set the Title and slug, choose a category, fill required fields, and select
Include in releasewhen the material is ready to publish.Shared presentation. Open the list page or detail template in Composer. Check a long title, an entry without an optional photo, and an empty category.
Publishing. Save the draft, generate a release, and open the list and one entry in the preview. The public site changes only after the release is activated.
If an entry is missing from the list, check its status, locale, and category filter. If it has no standalone page, check the detail template and its entry block. If the list is empty, check the Collection list block’s collection and category binding.
An entry address is built from the detail page and the entry slug by default. Under Site settings → Pseudo-static URLs, you can set a site-wide entry pattern such as /{slug}. Change it for the whole site and publish a new release; do not bend one entry’s address by hand.
Draft and release are different. An entry saved after the release snapshot is not in that release; if the edit matters, prepare a new release. Check public addresses without signing in to Admin.
Common mistakes
A new page for every product. The design is duplicated, and filtering and the shared list stop working. Add an entry to the collection.
Renaming a field key to change its label. The template finds values by key. Change the label, and touch the key only together with its bindings.
Expecting a save to appear on the public site. The entry change stays in the draft until a release is generated and activated.
Putting an article in Summary or a plain long-text field. Formatting, headings, tables, and images belong in a rich-text field.
Adding an H1 inside an article. The page heading already comes from the entry title. Use H2 and below in the body.
One collection for products and services with different fields. Extra fields become empty and the template grows complicated. Split the types or keep only shared fields.
Treating a category as a password. A category controls navigation and listings, not access to documents.
A website you can manage yourself.
Hi, I’m Hobbit! I can show you what HOBA can do. Where shall we start?