Welcome

Login to contribute. Register if you haven't yet.

Support Options

1. Search this site.
2. Make or vote for a Suggestion.
3. Post to Community Support.
3. Contact EditMe Support staff.

Stay Informed

Keep informed of product changes, tutorials and tips via EditMe's Blog and monthly newsletter.

Fully open navigation tree

Forums / Community Support

bizxchange says:

I need to get my full navigation tree output in some way, hopefully without copying it all section by section.

Basically on the actual wiki my navigation tree looks something like this:

  1. Subject 1
  2. Subject 2
  3. Subject 3

If I click into subject 1 it might look like this:

  1. Subject 1
    1. Topic 1
    2. Topic 2
  2. Subject 2
  3. Subject 3

But then if I click into subject 2 it looks like this:

  1. Subject 1
  2. Subject 2
    1. Topic 1
  3. Subject 3

And so on and so forth. I need to get this:

  1. Subject 1
    1. Topic 1
      1. Item 1
      2. Item 2
    2. Topic 2
  2. Subject 2
    1. Topic 1
    2. Topic 2
    3. Topic 3
  3. Subject 3
    1. Topic 1
      1. Item 1
      2. Item 2
      3. Item 3
    2. Topic 2
    3. Topic 3
      1. Item 1
      2. Item 2
        1. Another level

Basically so the whole thing is expanded out. I hope that makes sense. Is there a way to do this?

Posted at 5:44 AM on May 6, 2010


matt staff says:

You can add "expandall" to the _TreeNav tag to display a fully expanded tree. For example, create a page and insert the following:

[[include:_TreeNav root=Menu expandall]]

This has always been there, but wasn't documented. Thanks for the reminder!

Matt W.

Posted at 8:59 AM on May 7, 2010

matt staff says:

By the way... For full documentation of _TreeNav and the other include scripts, see Include Scripts.

Posted at 8:59 AM on May 7, 2010

bizxchange says:

That didn't seem to work. It shows the same navigation as on the left, not expanded.

Posted at 11:51 AM on May 7, 2010

matt staff says:

Can you post a link to the example?

Posted at 2:14 AM on May 7, 2010

bizxchange says:

http://university.bizx.com/Navigation-Expanded

My site is private, but I assume you have a way to get in.

Posted at 2:17 AM on May 7, 2010

matt staff says:

Hi,

There was an errant <span> tag mixed into your include tag. This could be seen when the page was viewed using the plain text editor. I've removed that and the tree is now showing fully expanded.

Cheers,
Matt

Posted at 9:54 PM on May 8, 2010

You must log in to reply