I'd agree with Vincent there on having fixed navigation panels..
Generally, especially when using panels; try to have your visible panels
as lightweight as possible; the entire panel gets reloaded for every
page you view - thus performance will become a growing problem.
________________________________
From: Vincent Massol [mailto:vincent@massol.net]
Sent: 16 May 2007 12:30
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Navigation panel
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(a)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(a)objectweb.org mailing list.
To unsubscribe: mailto:
xwiki-users-unsubscribe(a)objectweb.org
For general help:
mailto:sympa@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(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws