[xwiki-users] Navigation panel

Vincent Massol vincent at massol.net
Wed May 16 13:30:07 CEST 2007


On May 16, 2007, at 10:21 AM, Melv Ng wrote:

> Hi,
>
> One way to do it is to by default hide pages unless a page doesn't  
> have a parent or contains a specific tag.

Good point.

Actually I would do it slightly differently. I would add all pages  
unless the page has a special "hidden" tag, so that any page created  
by the user is visible by default. Then all "technical" pages should  
be tagged with that "hidden" tag.

But I still believe the best solution is to have a fixed navigation  
as the default Navigation panel doesn't scale when # of pages increase.

Thanks
-Vincent

> Please see attached code.  All spaces defined in  
> "hiddenPagesSpaces" will get this special treatment. Show a page by  
> leaving the parent field blank. A page will also be shown if it  
> contains the tag "showPage".
>
> Melv
>
> On 5/16/07, thegios <gandalf at freeweb.be> 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
> --
> View this message in context: http://www.nabble.com/Navigation- 
> panel-tf3759045.html#a10637181
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki- 
> users at objectweb.org mailing list.
> To unsubscribe: mailto: xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws
>
>
> <wikipanelcode.txt>
>
> --
> You receive this message as a subscriber of the xwiki- 
> users at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070516/b1423e56/attachment-0001.htm 


More information about the users mailing list