Classes for the OpenCms 6.0 '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.
You can use the following macros in the files:
${layout.headline}
: the optional headline of the paragraph${layout.image}
: the image tag for the paragraph${layout.description}
: the image description text${layout.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 image width as second argumentschemas/layoutimage.xsd
to add your layout to the alignment selector widgetresources/style.css