Displaying Content in a Container

Last Updated: Jun 17, 2024
documentation for the dotCMS Content Management System

Properly created containers control how the fields of each Content Type display on the Page — including whether or not each field of the Content Type is displayed at all. This ensures that content contributors need not worry about coding or CSS styling, and that all content of the same Content Type is displayed in the same way, even on multiple different pages. Content contributors simply contribute content by filling out each field available on the Content Type, and when the content is added to a Page it displays with the appropriate styling and selected fields for that Content Type.

To access the content object within a container through Velocity code, use of the $dotContentMap built-in content object is recommended.

On this page


We Dig Feedback

Selected excerpt: