Classes for the OpenCms 6 'layoutpage' resource type module.
The provided classes are used to generate a frontend layout page that provides an easy to use form based page layout for page editors. The XML content type 'layoutpage' configures the frontend appearance of text paragraphs together with images.
To modify the enclosing output HTML code, please edit the files in the layouts/
subfolder of the module.
The used macros were developed using the FreeMarker template engine.
You can use the following variables in the files:
${headline}
: the optional headline of the paragraph${image}
: the image tag for the paragraph${description}
: the image description text${text}
: the text of the paragraphTo add your own predefined layout pattern, do the following:
layouts/
addLayoutPattern
to make your layout file available in the bean with the desired image width as second argument (large, medium or small)schemas/layoutimage.xsd
to add your layout to the alignment selector widgetresources/style.css
and include it in your template