How to show all the sub-items in the navigation menu

Hi

For now, the navigation only show 2 sub items.
Even if you navigate to more sublevel, only the two first level are shown.
Is it possible to modify this behaviour and show all the items ?

Best regards.

Could you attach some screenshots to understand better?

Could you also make sure that you refresh your browser cache?

You didn’t mention the version of XWiki you’re using. Which is it? Any hint for us to be able to reproduce your issue (ie what you’ve done from a clean install)?

Yes that’s the default and what happens normally :slight_smile:

Thanks!

Hi, Thanks to you :wink:

As requested, here is a screenshot :
image

Also I’m using XWiki Debian 9.9

The reproduction step are easy : from scratch, create imbricated pages until you reach the third sublevel.

What happens when you click on the “>” before “Studio Tunis 2”?

Have you force-cleared your browser cache?

Thx

Also does the same problem happen for other nodes of the tree or just under “3DMM/AARTS”?

It’s not easy at all. Since it works here:

Nothing happens.

No, I did not. FYI I’m using chrome 62

Yes, I created a new hierarchy, and the problem is not present.

Maybe it’s related to the “/” in your top level node? Checking that

Nope doesn’t seem related, it’s working fine for me:

Yes I can confirm that. After renaming the root page without slash, the problem is still present.

Also, from the page"Studio tunis 2", I tried to change the link to the sub pages.
But in the interface, I’m not able to navigate down :
image

Could you navigate to the page above “Nas” and show a screenshot? Maybe there’s a problem with it.

That’s logical :slight_smile: It’s the same tree code.

Yes of course; here is a screenshot :

Btw, the copy/paste image feature in the forum is very cool.

I’m a bit stuck :slight_smile:

Maybe open the dev tools and capture the network activity as shown below to see if we get a 200 for each node level.

06

Maybe @mflorea has some idea to debug this more (he knows this doc tree macro a lot better than I do ;)).

Can you explain how to open the dev tools ?

I found it !
A blank space at the end of the page name produces the bug.
Before :
image

After :
image

Thank you very much for your help.

If you check the URL from your screenshot you’ll see it contains: /Studio%20Tunis%202/ which means there’s no trailing space.

Also I’ve tested with pages having trailing spaces and they worked fine for me. Thus I couldn’t reproduce.

Since it worked for you after you modified the “Studio Tunis 2” page name, it was related somehow but I can’t reproduce that. Any idea?

Thx