hierarchy of child pages in the form, a button showing the form's attachments (pages)
Asked by license_all:

1) There is no display of child pages at the bottom of the completed page, where you could click and go to the child or parent page. This function was in 5.0.1.  
2) When editing the page in 5.0.1, at the bottom of the page there was an "attachments" button, where you could immediately see their number and attachment files themselves. In the latest version there is no such button.  
Please tell me where it is configured in version 6.6.1?


Answers:
author: Shannon S
body: Hi,

You can insert macros for these functionalities, such as

* [Children display macro](https://confluence.atlassian.com/doc/children-display-macro-139501.html)
* [Attachments macro](https://confluence.atlassian.com/doc/attachments-macro-97911315.html)

I think that should fulfill your requirements, but if anything is missing, can you please let me know?

Regards,

Shannon

comments: author: license_all
body: In the attachment screenshots, which shows what I need. On the old version 5.0.1 there were no macros. This functionality has been applied to all the database pages by default. How can I do the same in 6.6.1 for all the completed pages?![2018-01-26_094953.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13368i5852B033929D754C/image-size/large?v=v2&px=999 "2018-01-26_094953.jpg")![Edit page.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13369i7C14D0F2E1967862/image-size/large?v=v2&px=999 "Edit page.jpg")


author: Shannon S
body: Hi there,

There were, in fact, [macros in Confluence available in Confluence 5.0](https://confluence.atlassian.com/display/CONF50/Working+with+Macros), but what you're seeing there was a feature of the [Documentation Theme](https://confluence.atlassian.com/display/CONF50/Using+the+Documentation+Theme). The Documentation Theme was discontinued in Confluence 6.0, so it's no longer possible to have them appear like that.

You would need to use the Children Display Macro from above. It won't say "# Child Pages" above each one, however. You can include this with a heading.

If you need it to appear in all the pages, you can choose to include it in the footer.

For this, you can either add it in the **Space Tools** \> **Look and Feel** \> **Sidebar, header and footer** (see [customizing Sidebar](https://confluence.atlassian.com/doc/configure-the-sidebar-317194694.html#ConfiguretheSidebar-Addingcustomcontenttoasidebar)), or you can edit the sidebar directly (see [How to edit the footer](https://confluence.atlassian.com/confkb/how-to-edit-the-footer-in-confluence-163415355.html)).

I also attempted doing this using the theme editor, but it doesn't allow the {children} macro to be displayed in this way.

Let me know if you have any trouble!

Regards,

Shannon


author: license_all
body: Macros name is "Children Display Macro". I can add it to any page. But how to add this macro here to apply to all pages of space? ![2018-01-31_174250.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13675i3E8D9E2EED63D914/image-size/large?v=v2&px=999 "2018-01-31_174250.jpg")


author: Shannon S
body: Hi,

If you add the macro there, it will apply to all pages in the space in the footer.

You can use wiki markup to do this. For the name of any macro in order to reference it using Wiki Markup, you can check the macro page itself:

* [Children Display Macro](https://confluence.atlassian.com/doc/children-display-macro-139501.html)

> #### Wiki markup example {#toc-hId-1395806131}
>
> This example is useful when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.
>
**Macro name:** `children`  
Thus, inserting {children} will employ the macro in your footer.  
I hope that helps, let me know if you have any questions.  
Regards,  
Shannon


author: license_all
body: In my screenshot above there is no insert button. If I write there "{children: reverse = true \| sort = creation \| style = h4 \| page = Home \| excerpt = none \| first = 99 \| depth = 2 \| all = true}", nothing will happen. It's not clear how to use the "Wiki Markup". Please show me what exactly I need to write. If you can screenshots.

![2018-02-01_094710.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13744i70C75CA0CF211BAF/image-size/large?v=v2&px=999 "2018-02-01_094710.jpg")![2018-02-01_094732.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13743iFA31EA0AEB773B74/image-size/large?v=v2&px=999 "2018-02-01_094732.jpg")![2018-02-01_094908.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/13742i3B512225AB82DFFD/image-size/large?v=v2&px=999 "2018-02-01_094908.jpg")