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. 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.orgmailing 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