You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
The sidebar of confluence on-demand limits the tree view to the top level pages. I would like to have the top two levels of pages displayed. (Like {page tree} with start depth = 2.)
Hi Harley,
In OnDemand you should be able to navigate to the Look and Feel tab under Space Adminstration then select the Documentation Theme. Once you select the Documentation Theme a link will appear under it to "Configure Theme".
If you select "Configure Theme" you unselect "Page Tree" then add the Page Navigation Macro that you want to use.
Here is the documentation for the page tree macro.
https://confluence.atlassian.com/display/DOC/Page+Tree+Macro
I hope this helps!
Can we only have such a tree navigation if we choose the Documentation Theme? Would be nice in the defaul theme too!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It did. Once I knew where to find the sidebar, I was able to get started. I changed it to this:
*NameOfSpace* ---- *Search:* {pagetreesearch} ----- *Contents:* {pagetree:startDepth=5}
It would help if the "macros" section of the document explained the text format of the macros. I tried a couple of times before I figured out that the seperator is ":" and not "|" as it appears in the normal fancy editor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey Harley,
so if I understand correctly, you changed the depth of the sidebar tree in a default theme ? can you give me more details about that? what file ? :)
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The space which I modifed still has the custom sidebar.
I changed the sidebar a year ago, and am pretty sure our hosted confluence has been updated since then.
I went to check how I added this text, and I dont see how I can get back to edit the text. I think the UI changed and (a) either disabled the editing of it, or (b) moved the option to some config page which I didnt find.
wish I had more!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your sidebar code, Harley. Marius, it's probably way too late, but I added it to the sidebar section in my space, using the instructions in the "Customising the Documentation Theme" section of this page: https://confluence.atlassian.com/display/DOC/Configuring+the+Documentation+Theme
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.