Hide child pages in tree without creating orphans?

I have a page called Policies that will have dozens of pages underneath it.  I would like to retain their hierarchy but not show them under "Policies" on the navigation tree.  Is it possible to do this without css or javascript?

2 answers

Milo's suggestion will work to an extent, but as soon as you open one of those policy pages the sidebar will display the page hierarchy.

However, you can disable the display of either page tree or child pages navigation (via "Configure Side" in the bottom-left of the screen). You may then either need to manually create your navigation structure or use wiki markup via a custom sidebar element (via Space Tools > Look and Feel > Sidebar, header and footer) to recreate it in some way.

BTW it would help to understand the outcome you are trying to achieve by hiding those child pages in the sidebar navigation - we might be able to suggest an alternative approach smile

Heyho, just read your recommendation :) 

I am actually also looking for a way to hide children pages in the tree without creating orphan pages. My aim is to create a company wiki within confluence so the section "Glossary" will have a lot of different sub-pages which I wouldnt like to display in the left tree-view to reduce complexity.

Any thoughts?

Unfortunately there is no easy way to do this now - the method I describe above is no longer available in Confluence Cloud.

However, utilising the fact that the sidebar pages list reflects the structure of the page under the space's homepage you could make the homepage a single page (no children) and have the other pages under another root page (the root and homepage don't need to be the same). However, you would need to manually create a list of all your primary pages as space shortcuts.

First of all, thank you for your thorough answer. I really do appreciate any help with confluence since I just started using it. 

Based on your experience, do you have any recommendations or best practices to set up a glossary? (without adding any additional macros) My attempt would be to set it up like in the picture below. However, as I already mentioned, the list at the sidebar below "Glossary" would get ridiculously long. 

I tried to hide that by adding an additional subpage between all glossary entries and the parent page (Glossary > Entries > Entry 1, Entry 2, ...). However, if I do so, entries created by the macro "create from template" (here "+ Add term) will be automatically created at the same layer as entries. 

 

Glossary.PNG

Not sure how you aim to link to those pages, but you can hide the pages by putting them under a different parent and moving that parent above the space's home page.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,321 views 93 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you