CMS + Theme overview

Use a company news site to connect content models, pages, templates, and public delivery.

CMS defines editable data and public pages. Theme renders them. A news title, summary, and cover belong to the entry. The article layout belongs to the template. Multiple sections can use the same published form.

Start with what editors do repeatedly

A company news site usually has an About page, a news list, and article pages. The About page can be composed from sections. News titles, summaries, bodies, and covers are entered repeatedly, so model them as module fields and reuse each entry in the list and detail views. Create one sample article, then edit and preview it to spot missing fields or duplicate responsibilities.

What you are defining Concepts
Article fields and relationships Modules, fields, and entries
Which page opens at a URL and how its sections are arranged Pages, templates, and sections
Section markup, styling, and interactions Theme components
Which content appears in each language and what search engines receive Localized content, page SEO, and delivery rules

Follow an article through to HTML

CMS resolves the path and assembles a page payload with the current page, module, entry, and public data the template uses. Theme renders HTML from the template and sections. When a field is editable in Admin, check whether the public payload includes it and whether the section renders it. After checking the list, verify the detail page, the empty state, and a second language separately.

Define the type before integrating it into a theme

When several themes need the same business resource, give it a CMS type first. For example, an editor selects an inquiry form in Admin. The theme receives a form reference and the public data it needs to render. A different section can reuse the same form and implement its own layout and interactions.

Integration point What it provides
Service Register value and resource behavior with defineCmsType. Supply a public resolver when themes need to resolve the reference
Admin Register value mappings, a picker, and list presentation with defineAppFormRegistration
Theme Declare the type and field ID in the section settings. Read the value and render it in the component. Layout changes can reuse the same resource

The existing inquiry section declares { type: "survey", id: "survey", reference: "collection" } in its settings and reads section.value("survey") when rendering. Test a section with a resource selected and another without one. Then select the same form in a section with a different layout and verify that it can reuse it.

Here, survey extends theme settings. Fixed site, module, and entry fields follow the supported type set of the theme manifest. Choose the integration point based on whether editors repeatedly enter content or select an existing business resource for a theme section.

Preview, build, and verify the public site

Editorial previews use dynamic rendering. On the VPS, Node.js can serve published local HTML files for eligible public URLs. SSR can serve pages while the first artifact is pending or when the published artifact is unreadable. Check content and layout in preview, then verify the built page at its public URL. See rendering and static delivery.

Start with content modeling and implement templates and sections in theme development. See localization for translations and language URLs.

For a resource type of your own, see custom theme types and resource references for integration and verification across the three layers.

To trace a visitor request, see public page data, templates, and section rendering.