It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Customising Page Tree Macro to break up content

Hi,

For a Confluence intranet-style application I want to use Page Tree for a number of different main "sections" all children of the same homepage.

E.g.

  • Section1
    • Section1_Child1
    • Section1_Child2
    • etc
  • Section2
    • Section2_child

 

On the homepage I would like individual pagetrees for each main section, eg with Section1 being visible as the 'top' of the tree.

 

Hope I've explained this clearly enough to get some help.

 

 

3 answers

0 votes

Sounds like you want to use multiple page tree macros on one page, and set the root page level on each one to be where you need it to go.

Does that sound right to you?

rootpage.png

Thanks Gregory,

 

I tried that and if I specify the root page a "Section1" (in my example above) it only displays the children of "Section1", not section1 and it's children.
If I set root page as @home then it displays all the Sections in the 1 Page Tree.

Does that make sense?

0 votes

In the page tree macro edit settings, are you setting the start depth to a higher number to include child pages? 

That doesn't help I'm afraid.

 

I want to specify the start page to be displayed and it's children.  If I select the "start page"  as the root page then that doesn't display (only the children), and if I select @home at the root then all child pages display.

 

treeview2.png  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

What's New in Confluence Cloud – October 2019 Edition

Hey there! When you can pack so much information onto a Confluence page, it can be challenging to whittle down what’s most important. Here are a few of our favorite hacks for finding need-to-know i...

63,364 views 63 152
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you