Creating OpenCms 8 Container Templates (Part 1)

Track: Workshop
Speaker: Tobias Herrmann (Alkacon Software GmbH)

Abstract

In part 1 of his session, Tobias did introduce the most important new concepts in the OpenCms template system. These concepts are probably the most important advancements in OpenCms 8.

At the heart of OpenCms 8 new Advanced Direct Edit functionality lays the "Container Page", a XML Content based data structure that provides a standard mechanism that allows developers to easily create configurable websites with custom HTML.

To display content in a Container Page, “Formatters” are used that render the HTML for a specific content item. There can be several Formatters for the same item that allow different output formatting, for example one for a small side column and one for a wider page body.

Latest News

  • OpenCms 13 available

    Apr 13, 2022 - OpenCms 13 features a new plugin system as a more flexible replacement of the "headincludes" functionality. Geo search functionality has been added to find contents by geo coordinates. Extensions to the template variant mechanism allow setting overrides and renaming of formatter keys. There are also refinements for the "Mercury" default template as well as security improvements.

  • OpenCms 13 Release Notes

    Apr 13, 2022 - The OpenCms 13 release notes contain detailed information about the new features and fixes in this version.

  • Alkacon OCEE 13

    Apr 13, 2022 - Alkacon OCEE 13 is the latest OCEE release for OpenCms 13. This version fixes a number of issues that have been detected in Alkacon OCEE 12 and improves the licensing mechanism.

  • OpenCms 12 available

    Oct 12, 2021 - OpenCms 12 features a headless JSON API for REST content access, together with several JavaScript demo applications that show how to use it. The default "Mercury" template has been greatly improved. Template variants allow to completely switch the generated HTML of a website simply by configuration. The updated WebDAV implementation enables mounting the OpenCms virtual file system from any WebDAV client.

Try the OpenCms Live Demo