Confluence 2.8 : Modifying Confluence Layouts Using Custom Decorators
This page last changed on May 07, 2008 by edawson.
Confluence is built on top of the Open Source SiteMesh library, a web-page layout system that provides a consistent look and feel across a site. SiteMesh works through 'decorators' that define a page's layout and structure. To edit the layout of Confluence, you will need to modify these decorator files. A decorator file is a vmd file and is written in a very simple programming language called Velocity. Learn more about Velocity. Once you become familiar with Velocity, you can edit the decorator files to personalise the appearance of Confluence.
These files are grouped into: Site layouts : These are used to define the controls that surround each page in the site. For example, if you want to make changes to the header and the footer, you will need to modify these layouts. Content layouts : These control the appearance of content such as pages and news items: they don't change the way the pages themselves are displayed, but they allow you to alter the way the surrounding comments or attachments are shown. Export Layouts: These control the appearance of spaces and pages when they are exported to HTML. If you are using Confluence to generate a static website, for example, you will need to modify these layouts. Learn more about using decorators. To edit a decorator file,
Screenshot : Edit Layouts Example Click thumbnail to view an example of a vmd file: RELATED TOPICSCustomising Look and Feel Take me back to Confluence User Guide |
![]() |
Document generated by Confluence on Jun 24, 2008 18:05 |