I created a space and imported a Word document, choosing Import as a New Page, split on level 4 headings, and the Documentation theme. I got the TOC in the sidebar, but it was collapsed rather than expanded one leve.
I created another space and did the same thing, except choosing Replace Home, and got no TOC in the sidebar.
I deleted both spaces and tried the first approach again, still no TOC.
?
I can't reproduce this, so I don't know what the problem was.
Regarding the collapsed/expanded question, I have found that when using pagetree (or the left panel navigation tree - perhaps one and the same), if I expand the tree to navigate down to a page I want to see, click on the page, and then return, the tree is collapsed. This can be very annoying when you are trying to view more than one page at a lower level. Is there a setting which controls this behavior? Unfortunately, Windows Explorer has trained me to expect the tree to remain expanded. It feels like I spend a lot of time expanding the tree, and then re-expanding the tree, and then... You probably get the idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't reproduce this, so I don't know what the problem was.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Robert
I'm not sure what you mean when you say that the TOC in the sidebar was collapsed rather than expanded. But here's some information about where the pagetree gets its information, in case this helps.
The most likely cause of pages not appearing in the left-hand panel is that the pages in your space are not children of the space’s home page. Perhaps when you imported the Word doc with "Replace Home", Confluence did not reset the space's home page setting.
Each space has a single page designated as its “Home” page. The Documentation theme constructs the TOC from the pages that are child pages of the space’s home page. If your pages are at the same level as (i.e. siblings of) the space home page, they will not appear in the left-hand navigation bar.
More background: The theme uses the {pagetree} macro to produce the table of contents on the left. When you use the {pagetree} macro on a page, you can choose the top page to be displayed. The Documentation Theme chooses the space home page as the top page.
The fix: If this is the cause, then there are two ways to fix the problem:
I hope this helps!
Cheers
Sarah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.