# Please Help to Create a Navigation Panel

**URL:** <https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344>\
**Category:** Help / Discuss\
**Created:** [July 21, 2017, 11:29am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344 "2017-07-21T11:29:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [July 21, 2017, 11:29am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/1 "2017-07-21T11:29:22Z")

</div>

Hi,

i hope somebody can help me. I will have a Navitgation Panel for my Users.

I have created a Site “Doku AX100” that site i will linked in the Navigation Panel.

I created the follow configruation:

```
{{velocity}}
#panelheader('Navigation-Users')

* [[Dokubereich Doku AX100>>Doku AX100]]

#panelfooter()
{{/velocity}}

```

This works, but with one Exception. When the User Click on this, the Submenu/Child-Sites under the “Doku AX100” will not displayed in the Panel. -\> I will have the Menu in the Art of the Default Admin Panel (Collapsing Menus etc.).

What have ich to do to make this work?

With best regards and many thanks.

Mike

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 22, 2017, 6:46am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/2 "2017-07-22T06:46:44Z")

</div>

Hi, your question is not very clear and I don’t understand it.

> [@Knight01](#):
>
> the Submenu/Child-Sites under the “Doku AX100”

What are you referring to? What submenu? What child-site?

> [@Knight01](#):
>
> will not displayed in the Panel

What panel?

> [@Knight01](#):
>
> the Art of the Default Admin Panel

What does this mean? Art? What is the default Admin panel?

Thanks

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [July 28, 2017, 6:37am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/3 "2017-07-28T06:37:46Z")

</div>

HI vmasol,

sorry, my English is not so good.

Here is another Example:

 ![grafik](https://forum.xwiki.org/uploads/default/original/1X/8fd2b6d80271eccbfdd9742b87d29716eb268eeb.png)

When i Create a new Navigation Panel like this

> ```
> {{velocity}}
> #panelheader('Navigation-Users')
> 
> * [[Hilfe>>Hilfe]]
> 
> #panelfooter()
> {{/velocity}}
> 
> ```

The Result is this:

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [July 28, 2017, 6:38am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/4 "2017-07-28T06:38:41Z")

</div>

The Result is this:

![grafik](https://discourse.xwiki.org/uploads/default/original/1X/70ad6a4050b337c6d9967f7ddc3e9f99c73e65b9.png)

So Far so good, but i cannot Expand “Hilfe”. MyGoal is, to expand “Hilfe” to Reach Videos (see first Screenshot). How i can do that, that it worked like in the Default Navigation Panel?

Thank you for your Help.

P.s. sorry for the 2 Posts, but The Forum allows only 1 Screenshot per Post 😉

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 28, 2017, 2:25pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/5 "2017-07-28T14:25:06Z")

</div>

hi,

ok I understand now. So you need to use the Document Tree Macro if you wish to have a tree in your panel, see [http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro](http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro)

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [July 31, 2017, 2:48pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/6 "2017-07-31T14:48:48Z")

</div>

Hi vmassol,

Thank you very much. I was so blind 😊.

Can you help me with the Syntax? How must the code look like, that i only See “Hilfe” (with Subsites as tree) in the new Created Navigationpanel?

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [July 31, 2017, 5:43pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/7 "2017-07-31T17:43:48Z")

</div>

Something like this will display the children pages of the current page in a panel:

```auto
{{velocity}}
#panelheader('Navigation-Users')

{{documentTree root="document:$doc.documentReference" /}}

#panelfooter()
{{/velocity}}

```

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [August 2, 2017, 1:42pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/8 "2017-08-02T13:42:56Z")

</div>

Hi vmassol,

sorry, but i don´t understand where i must define my Page “Hilfe” in the Syntax, so this will displayed in the Navigation Panel. When i try to Replace “documentReference” through Hilfe it says “no Pages found” ☹

Can you please send me the full Syntax for my challenge?

Sorry for the trouble but im a Newbee on Xwiki 😉

---

<div class="post-metadata">

**Author:** ![evalica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/evalica/32/4_2.png) [@evalica](https://forum.xwiki.org/u/evalica)\
**Post date:** [August 2, 2017, 1:55pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/9 "2017-08-02T13:55:06Z")

</div>

This will display just the pages from the Help page:

```auto
{{velocity}}
#panelheader('Navigation-Users')

{{documentTree root="document:xwiki:Help.WebHome" showTranslations="false" showAttachments="false" compact="true" /}}

#panelfooter()
{{/velocity}}

```

Vincent’s example displayed children pages of the current page, so depends what exactly you want to achieve. Make sure you read the [Document Tree Macro](http://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro) documentation.

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [August 2, 2017, 2:44pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/10 "2017-08-02T14:44:33Z")

</div>

Hi Evalica,

thank you. It nerarly worked. But now i have one Problem with your Configuration.

Now i see in the Navigation Tree The Childs of “Hilfe”. Not the Root Site “Hilfe”.

My goal is to make my own Navigation Panel for My Users that should look like as the following Example:

## Navigation Users

- Hilfe
- Department 1
- Department 2
- Department 3

(With the Option to browse through the Child Sites like the Default Navigation Panel.)

I tried to understand the Document Tree Macro documentation, but for now very much for me is Voodo ;). A few near life Examples on this Site would help to understand. Or mayby i´m simply to stupid to undestand ☹

If you could help me here to reach my goal, I would be very grateful to you.

---

<div class="post-metadata">

**Author:** ![evalica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/evalica/32/4_2.png) [@evalica](https://forum.xwiki.org/u/evalica)\
**Post date:** [August 2, 2017, 4:12pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/11 "2017-08-02T16:12:43Z")

</div>

If you want to have manual entries in the navigation you could use the Menu Application [http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu%20Application](http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu%20Application)

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [August 3, 2017, 3:35pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/12 "2017-08-03T15:35:47Z")

</div>

Hi Evalica,

i created a Menu via the Menu Application. See picture. How can I attach this Created “Department” Menu to the Left Panel like the Default “Navigation”?

![grafik](https://discourse.xwiki.org/uploads/default/original/1X/8b0c35a1d37c5827d6602029b0c95dde9183dc29.png)

In the Global Administration: Panels - menu I wrote the following under the “Panels displayed on the left” Point :  
Panels.Applications,Panels.Navigation, **Panels.Department**

Is this maybe the error?

---

<div class="post-metadata">

**Author:** ![evalica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/evalica/32/4_2.png) [@evalica](https://forum.xwiki.org/u/evalica)\
**Post date:** [August 3, 2017, 3:43pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/13 "2017-08-03T15:43:22Z")

</div>

> [@Knight01](#):
>
> Panels.Department

For the tree it looks like it is created under ‘Menu’, not ‘Panels’, so try writing “Menu.Department” instead in the Administration.

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [August 3, 2017, 3:49pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/15 "2017-08-03T15:49:16Z")

</div>

No Luck. it doesn´t appear in the left Panel. + When i close the Browser after i saved, the “Menu.Department” Entry from me in the Configuration Menu is gone…

![grafik](https://discourse.xwiki.org/uploads/default/original/1X/110433c937c81a5e6005dc2c226eddb3e530bf71.png)

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [August 3, 2017, 4:03pm UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/16 "2017-08-03T16:03:22Z")

</div>

To find the reference of a page, see [https://www.xwiki.org/xwiki/bin/view/FAQ/How%20can%20I%20get%20the%20reference%20of%20a%20page](https://www.xwiki.org/xwiki/bin/view/FAQ/How%20can%20I%20get%20the%20reference%20of%20a%20page)

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [August 10, 2017, 10:14am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/17 "2017-08-10T10:14:59Z")

</div>

Sorry for my Questions.

This is very Confusing. Is this so complex to create in Xwiki a Simple Navigation Panel?

Is the following Configuration Correct? With Panels.Department in the Global Adminstration -\> Panels Entry (see above). It will not displayed.

![grafik](https://discourse.xwiki.org/uploads/default/original/1X/3246b694556d8674856b75c37c9ad2f6f9e7d2ac.png)

Can Anyone give me a Sample Configuration for my Problem?

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [August 10, 2017, 10:42am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/18 "2017-08-10T10:42:25Z")

</div>

No, it’s not very hard, You have 2 options:

- Use the menu app as you started doing
- Or create a Panel, as explained on [http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels%20Application#HCreation-Edition](http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels%20Application#HCreation-Edition)

> [@Knight01](#):
>
> s the following Configuration Correct? With Panels.Department in the Global Adminstration -\> Panels Entry (see above). It will not displayed.

You just need to use the reference to the page containing your menu, i.e. Menu.Department AFAICS.

> [@Knight01](#):
>
> (see above).

Sorry but in the above screenshot, I can’t see anythinh since you’ve hidden the text under some yellow label.

Can you paste the content of the field instead?

Thanks

---

<div class="post-metadata">

**Author:** ![mflorea](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mflorea/32/49_2.png) [@mflorea](https://forum.xwiki.org/u/mflorea)\
**Post date:** [August 11, 2017, 9:22am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/19 "2017-08-11T09:22:47Z")

</div>

I see you set “Global” for menu visibility scope. This requires that the menu author has programming rights. Try a lower scope (wiki or even user).

Hope this helps,  
Marius

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [August 11, 2017, 10:23am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/20 "2017-08-11T10:23:26Z")

</div>

> [@mflorea](#):
>
> ee you set “Global” for menu visibility scope. This requires that the menu author has programming rights

Regarding this, I’ve created [Loading...](https://jira.xwiki.org/browse/XWIKI-14611)

---

<div class="post-metadata">

**Author:** ![Knight01](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/c6cbf5/32.png) [@Knight01](https://forum.xwiki.org/u/Knight01)\
**Post date:** [August 15, 2017, 8:11am UTC](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344/21 "2017-08-15T08:11:19Z")

</div>

HI Evalica,

i use your suggestion until there is a solution for the Creating for a manual Menu.

THis works well, but i have one Point.

Example:

Hilfe  
----\>MoreHilfe  
----------\> SubsubHilfe

A User Expand “Hilfe” and click on the SubsubHilfe. Then the following happens: The Site opens, but the Created Menu “Navigation-Users” collaps to the Base. In the Default Navigation Panel which is current also displayed, The Menu isn´t collapsed. It is so expanded on SubsubHilfe Entry.

Do you know how can i fix that?

With best regards.

[Next page](https://forum.xwiki.org/t/please-help-to-create-a-navigation-panel/344.md?page=2)
