Confluence Index with subpages / child pages??

Within Confluence you can add an Index in every page you like. You can set up and configure which headers will be listed in the index. But how is it possible to list subpages (and their headers) to the index of a page? Thank you :)

3 answers

This widget could not be displayed.

Check out the Page Tree macro. I think it works a lot nicer than the Children Display Macro, and it seems to have the ability to use Excerpts, although I am not sure how that works with headers.

Yup, used this myself and it's done exactly what I needed; Show the list of pages under my heading page.

Use the Macro and follow the instructions in next page, should do the work. In Version 6.0.

Child_Page_Display_In_Main_Parent_Page.png

This widget could not be displayed.

I think you're talking about a table of contents, rather than an index. If I understand you correctly, I think you want the headings on the current page, and the headings in the child pages to all be displayed on the top page.

You could do that using excerpt-include macros. It would show you the list of headings in the child page and they look like links but they're not clickable. (This has been a 'feature' since version 3.4). But it will at least show you what's on the child pages.

Depending on your Confluence version the way to test it is:

In 3.5 and earlier, use wiki markup and ...

  1. Go to a child page. Add a {toc} macro to the child page.
  2. Still on the child page, wrap the toc macro in {excerpt} tags. so the child page will have this code: {excerpt}{toc}{excerpt}
  3. Save the child page
  4. On the parent page, add a {toc} macro.
  5. Below the the toc macro, add an {excerpt-include:child page title}
  6. Save the parent page

You will see the headings from the child page, but like I said, they look like links but don't go anywhere.

In Confluence 5 ...

  1. Go the child page. Add an {excerpt} macro
  2. Inside the {excerpt} add a {toc}
  3. Save the child
  4. On the parent page, add a {toc} macro.
  5. Below the the toc macro, add an {excerpt-include:child page title}
  6. Save the parent page

(But in case you are talking about an index, have you seen the Page Index macro? It lists everything in the space, all on one page. https://confluence.atlassian.com/display/DOC/Page+Index+Macro)

Worked like a charm. Thanks a lot!

This widget could not be displayed.
Found this: https://confluence.atlassian.com/display/DOC/Children+Display+Macro But still searching for a resolution to include the headers of the child pages too!!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

284 views 2 4
Join discussion

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