I need to create a macro that will show on separate tabs Child pages of the page, that is configured for this tab. Example:
After selection, this macro should show all the child pages (clickable links, not the content) of selected parent page. I.e. i need to implement standard Include Children macro in a custom user macro.
I found this question https://community.atlassian.com/t5/Confluence-questions/can-you-include-all-child-pages-automatically/qaq-p/86946 but showing all pages content is inappropriate in my case due to the large number of child pages, so current page loads very slow.
Now the macro is configured as follows:
## Macro Name: tab_panel
## Macro Title: Tabs Panel
## Description: on testing
## Categories: Navigation
## Macro Body Processing: No macro body
## @param Title:title=Title|type=string|required=true
## @param Tab1:title=Tab1|type=confluence-content|required=true|desc=Select a page to use
## @param Tab2:title=Tab2|type=confluence-content|required=true|desc=Select a page to use
<div class="aui-tabs horizontal-tabs">
<li class="menu-item active-tab">
</div><!-- // .aui-tabs -->
Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...
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