Navigation Sidebar on One Wiki Page – Confluence


I had a wiki user ask me about the navigation side bar in Confluence (we are on 2.8.2) and if it is possible to add this to just the home page instead of the whole space. After a little bit of work, this is what I came up with:

Simple Example

Simple Example

To implement this:

  • Create a page in your wiki at the top level named _SpaceSideBar
  • Add the following code to the page (leave a space in between livesearch and pagetree macro:
    {livesearch:spaceKey=SpaceKey}
     
    {pagetree}
  • On your home page of the space edit the code to look something like this:
    {section}
    {column:width=25%}
    {include:_SpaceSideBar}
    {column}
    {column:width=75%}
    h1. Home Page Title
    This is the home page for SpaceName.
    {column}
    {section}
  • * Requires that the PageTree plugin is installed.

    Using this method you could pick and choose which pages you want to include this index on.

    Spread the Good Word:
    • Digg
    • del.icio.us
    • Facebook
    • NewsVine
    • StumbleUpon

    ,

    1. No comments yet.
    (will not be published)