This application isn't bundled with any XWiki product by default.
Application contributed by Erin Schnabel.
This application can be downloaded.

PageLayout Application

Specifies page-level display of right and left sidebars, inline comment/attachment blocks, and allows one type of editor to be forced.

Usage

When most pages in an XWiki are used for status, documentation, project information, etc., it can be nice to have a primary (narrow) sidebar always visible for navigation while having the other sidebar only available on some pages, e.g. Space.WebHome.

When PageLayout is present, you can enable display of the primary/navigation sidebar and disable display of the ancillary sidebar in the global/space preferences so that it applies to all pages. Then add a PageLayout object to Space.WebHome, and enable the display of the ancillary sidebar on only that page.

The converse could be true as well: if you want both sidebars displayed on all pages except a few, enable display of both in the global/space preferences, and use a PageLayout object to suppress rendering of one or the other or both sidebars on certain pages.

How to use

First download the XAR and import it on your XWiki.

The templates/skin must be updated to use these settings when rendering the page.

Information about the template modifications required to support the PageLayout class are described in the document itself, which can be found in the XWiki space after import: http://<server>/xwiki/bin/view/XWiki/PageLayout.

The class definition is fairly straight-forward, and does not provide "application-level" function in the true sense, so there are no sheets or templates defined.

Version 7.1 last modified by VincentMassol on 10/12/2007 at 12:11

Comments 2

ThomasKoch | 13.08.2007 at 04:54 PM
Can you please post more detailed informations how i must change the templates, especially the layoutvars.vm!!!

VincentMassol | 14.08.2007 at 09:58 PM
Would be nice to see a screenshot too :)

Attachments 0

No attachments for this document

Creator: ebullient on 2007/07/16 04:28
This wiki is licensed under a Creative Commons license
1.4.1.10194