Table of Contents

Content

How editors build pages from paragraphs, rows, and item types, and how your templates render that content

The design is the frame of a website. Content is what editors put inside it. This section explains the content structures editors work with and the templates that render them, so you can decide what editors can build and make sure it always looks right.

The building blocks

Editors build pages from a few building blocks, each rendered by templates you write:

  • Content model: how a layout lets editors add content, either through placeholders, a grid of rows and columns, or a fixed set of item fields on the page
  • Paragraph: a block of content, rendered by a paragraph template in the design's Paragraph folder
  • Grid row: a row of one or more columns in a grid, each column holding one paragraph, rendered by a row template
  • Item type: a content schema you define, e.g. Teaser or BlogPost, used to create custom paragraph types, page types, and settings
  • App: a paragraph with a module attached, e.g. a product list or a login form, rendered by app-specific templates

How a page is rendered shows how these building blocks nest inside the layout and in which order they are rendered.

Choosing the building blocks is as much a conversation with the customer as a technical decision. A grid with many paragraph types gives editors freedom; page item types give them a fixed, consistent structure.

In this section

Read the articles in this order if you are new to DynamicWeb content:

  1. Content models explains the three ways editors can add content to a page, and how to set up placeholders and grids in a layout
  2. Paragraphs and paragraph templates explains what a paragraph is, how DynamicWeb picks its template, and what the ParagraphViewModel contains
  3. Grid rows and row templates explains row definitions, the row settings editors control, and how to write row templates
  4. Item types in templates shows how to define your own paragraph and page types and write the templates that render them

When you have paragraph types in place, continue with apps to add functionality such as product catalogs, user management, and forms.

To top