Disable the Child Pages section

Hi. I have a number of pages that act as a super-parent - having many children and grandchildren. On these pages I have a PageTree control so I have no need (and indeed do not want) the ChildTree control at the bottom of the page.

I have other pages that do not have this control - even pages that have children.

So I was hoping there is a way that I can manually turn off that control.... ?

I would even venture to turn it off in the entire Space and only enable on a few of my pages.

1 answer

1 accepted

This widget could not be displayed.

You could write a User Macro that uses CSS to hide the child pages and then only include that macro on pages that you do not want it to show on. The CSS would be:

#children-section {display:none}

If you wanted something automatic then you could write a more complex macro that looks to see if the current page has any parents, and if it doesn't (or only has one), then it runs the macro. This macro would have to be called in the page layout.

Awesome! Thanks!

Unfortunately, OnDemand does not let me add a user maco. But I added a 'CSS Stylesheet' macro to the bottom of the pages of interest and put your CSS in there. Worked perfectly ! :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 10 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

52 views 0 8
Read article

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