Aldrich: Adding page content

content group data definition group

The main content of a page is comprised of one or more content groups. While each content group can be thought of as a page section, that semantic meaning isn’t actually attributed to content groups by the template. This allows you to craft (non-semantic) page sections from multiple content groups to meet your design needs.

You can create as many content groups as you need.

→ Details: Proliferating Data Definition items

Semantic page sections are defined with the <section> element and convey specific meaning about the structure of your page to assistive technologies, search engines, and such. They’re great to use in general, but leveraging them here would impose undesirable tradeoffs with regard to page design and layout flexibility.

Group ID and classes

group id and group classes data definition fields

These fields are useful for identifying areas of your page when applying custom CSS or JavaScript. The Group ID field accepts only a single value, whereas the Group classes will accept multiple values separated by a space.

The Group ID field can also be used to create anchors used for linking within a page.

Group ID values must be unique within a page. There isn’t any enforcement of this in Cascade and the effects of reusing an ID value in multiple places on a page may not be immediately obvious when viewing the page, but weird things can happen if you do.

How do you want to add the content?

created content group from data definition field

Selection

What this means

What this triggers

Selection

What this means

What this triggers

Layout builder

The content group real estate will be divided up using the template’s layout builder function.

Causes the Row Data Definition group to display.

Block

The content group will be defined by a layout block.

Causes the Layout Data Definition field to display.

WYSIWYG

The content group is populated via an inline WYSIWYG.

Causes the Content Data Definition field to display.

I want to use the layout builder

Carve up your content group and drop in widgets!

I want to use a block

layout data definition field

Add your content to a layout block and assign the block here.

→ Details: Layouts

I want to use a WYSIWYG

content data definition field

You have simple content needs and you don’t want to fuss with creating and managing widgets or layouts. Enter your content directly into the WYSIWYG.

To be continued….

→ Next: Page pro tips