children display macro

Deepti April 16, 2015

Hi,

How do I get the Children Display Macro to list the parent page too in the tree. I am using this macro to allow easy navigation to any part of a particular tree. I want users to be able to navigate to the parent too. I don't see any option to enable this in the macro.

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2015

Hi Deepti,

okay, now things are clearer.

I think your approach with choosing Z as parent is already the best you can get. One more thing you could try is go one step higher and start with the parent page of Z. Choose one of the two following settings for parent page (see docu at https://confluence.atlassian.com/display/CONF43/Children+Display+Macro):

  • '/' — to list the top-level pages of the current space, i.e. those without parents.
  • 'spacekey:' — to list the top-level pages of the specified space.

With this Z will be displayed. But also other pages that are on the same level as Z. Are there any?

If so, it needs more "finetuning"...

Deepti April 26, 2015

Thank you Steffen. But this option would not work for me as there are many pages one step higher. And if I include that it would not make any sense to the user. May be there should be an additional option within the macro to include parent page link...

0 votes
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2015

If you have different parent pages A, B, C and these parent pages have different child pages A1, A2, A3..., B1, B2, B3... you can create three parent/child lists (A, A1, A2, A3... for example).

Now, which of these lists do you want to display where?

Depending on that, there could be different solutions or workarounds. Using the toc macro would be the latter.

 

Deepti April 21, 2015

Hi Steffen, I have parent page Z that has these different parent pages A, B, C and the various child pages you have mentioned. I want to display the list (Z, A, A1, A2, A3, B, B1, B2, B3, C, C1, C2, C3) on all the pages, that is Z, A, A1, A2, A3, B, B1, B2, B3, C, C1, C2, C3 I am currently using a children display macro on all this pages with parent page set to Z, but the macro does not display page Z.

0 votes
Steffen Heller
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2015

I don't think there is an option for this.

What comes to my mind is a) defining another parent page or b) use the toc macro instead but for this I would have to better understand what you really want to do...

Deepti April 21, 2015

Hi. The TOC macro displays only the headings on the current page. What I want to is to display all the children of a tree including the parent page in a list. This goes into a related pages section on all pages so that user can navigate to any page in the tree easily.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events