Please Help to Create a Navigation Panel

Hi mflorea,

Really Good Tipp. Thank you. Now i see my Entrys :-).

But now I have the same problems like a few Posts before. How i Can make my Entries make Expandable Like the Navigation Panel:

grafik

Have you an Idea?

Hi Knight,

It’s hard to make the manual Menu to behave like the Default Navigation Panel, since they are not using the same JavaScript, so they don’t have the same functionality by default. If you were a developer you should add your own logic, but by default they are not equivalent. So you need to pick and tweak the one closest to your needs.

in order to achieve this behavior, the Document Tree has this parameter called ā€˜openTo’, read http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro#HParameters
try to add this parameter along side the root parameter and see if it does what you want.

Hi Evalica,

unfortunatelly it seems the ā€œopentoā€ Parameter is for a fix Site. But my Users are always in different Locations (Depending on where they are).

Are they other Options how i can help my Users? The only Problem is, that my Users are Confused about the Many Menu Options in the Navigation Panel. And then they Creating Diagrams under the Diagrams Space, and not under Department -> R&D -> Project 1 -> Draw1

If you’ve identified multiple places in the wiki where you want to display subtrees, you can create custom panels with custom navigation for those places and add these panels in the WebPreferences of the locations.

Otherwise I’m not sure what you want to have displayed: only the children of that page? only the siblings? a subtree of that page parent?

Hi Evalica,

I Created a Navigation Panel like you Said.

when i click in the created ā€œDepartment-Helpā€ and open the Subchild1 Entry Like following:

grafik

Then the Correct Site Opens, BUT on my Created ā€œDeparment-Helpā€ will Collaps and in the Default Navigation Panel it is open correctly. My goal is to achieve the same Feature like the Navigation Panel (The manu should stayed opened on the Position the User opened the last Xwiki Site (we will have many many Child (and Subchild) Sites…):

grafik

Thanks for your help.

try adding the ā€œopenTo=ā€œdocument:$openToDocā€ā€