Creating OpenCms Container Templates

(Difference between revisions)
Jump to: navigation, search
(New page: This tutorial introduces 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 ...)
 
Line 1: Line 1:
 +
= About this tutorial =
 
This tutorial introduces the most important new concepts in the OpenCms template system. These concepts are probably the most important advancements in OpenCms 8.
 
This tutorial introduces the most important new concepts in the OpenCms template system. These concepts are probably the most important advancements in OpenCms 8.
  
Line 9: Line 10:
 
It explains how to use these functionalities to create custom templates that are fully drag and drop enabled. You will also find details about recommended HTML structures, content organization and best practices.
 
It explains how to use these functionalities to create custom templates that are fully drag and drop enabled. You will also find details about recommended HTML structures, content organization and best practices.
  
 +
= Download this tutorial =
 
*[http://www.opencms-days.org/export/sites/opencmsdays/en/program/slides/session_w1.pdf Creating OpenCms 8 Container Templates (Part 1)]
 
*[http://www.opencms-days.org/export/sites/opencmsdays/en/program/slides/session_w1.pdf Creating OpenCms 8 Container Templates (Part 1)]
 
*[http://www.opencms-days.org/export/sites/opencmsdays/en/program/slides/session_w2.pdf Creating OpenCms 8 Container Templates (Part 2)]
 
*[http://www.opencms-days.org/export/sites/opencmsdays/en/program/slides/session_w2.pdf Creating OpenCms 8 Container Templates (Part 2)]

Revision as of 14:38, 29 July 2011

About this tutorial

This tutorial introduces 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.

Part 2 of the tutorial is about how the new functionalities can be used on templates with the extensions introduced in the <cms:> taglib und expression language, as well as the available new API.

It explains how to use these functionalities to create custom templates that are fully drag and drop enabled. You will also find details about recommended HTML structures, content organization and best practices.

Download this tutorial

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox