[xwiki-users] Navigation panel

Vincent Massol vincent at massol.net
Wed May 16 09:59:56 CEST 2007


On May 16, 2007, at 9:47 AM, thegios wrote:

>
>
>
> Luis Arias wrote:
>>
>>
>> If you edit the panel, you will see on the third line of the panel
>> code a provision for hiding certain pages like this:
>>
>> #set ($hiddenPages = ["Main.WebRss", "Main.WebSearch",
>> "Main.BlogRss","Main.Test", "Blog.Macros", "Main.TagsRss",
>> "Main.Ouverture", "Main.WikiLaunch", "Main.RegisterNewUserAction",
>> "Main.SpaceIndex", "Blog.Category"])
>>
>> just tack the names of the spaces you wish to hide to that list or  
>> use
>> the blacklisted pages list just after that if the pages always have
>> the same name.
>>
>>
>
> Hi,
>
> actually I realised that, but I am trying to do something a little
> different. For example, under the Blog heading, I would avoid  
> listing all
> the blogs and only keep WEB HOME, CATEGORIES and ADD NEW BLOG.  
> otherwise the
> menu becomes too crowded

This is a generic panel. If you want to control your navigation you  
should create your own panel with the navigation you want (as it's  
done on xwiki.org for example).

You could of course edit the Navigation panel and include/exclude  
pages/spaces but at a certain point you'll find it's better to write  
your own fixed navigation if you want control over it.

Thanks
-Vincent





More information about the users mailing list