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 16 available

    Oct 2, 2023 - OpenCms 16 brings the new app "Unused contents" that allows to find and delete content that is not actively used on any container page. It is now possible to select between several individual detail pages in the same website based on categories of the detail content. It can now be enforced that all content managers must set a new password after the next login. The default Mercury template brings several new features, e.g. the "Image tile display" formatter for the "Tabs / accordion" element.

  • OpenCms 16 Release Notes

    Oct 2, 2023 - The OpenCms 16 release notes contain detailed information about the new features and fixes in this version.

  • Alkacon OCEE 16

    Oct 2, 2023 - Alkacon OCEE 16 is the latest OCEE release for OpenCms 16. This version fixes an issue where deleting a user/group didn't flush the ACL cache.

  • OpenCms 15 available

    Apr 25, 2023 - OpenCms 15 provides role-based control to restrict who is allowed to update the sitemap configuration, including an editor for modifying selected sitemap attributes by any content manager. The new launchpad app "Person data search" reveals personal user data stored in the VFS. The Mercury template adds more than 1800 optional icons from the Bootstrap collection and numerous further enhancements.

Try the OpenCms Live Demo