As mentioned in this topic (https://community.atlassian.com/t5/Confluence-questions/Display-a-Working-Table-of-Contents-on-a-Different-Page/qaq-p/125911), I wanted to insert a TOC inside an excerpt, only now my TOC is empty apart from titles within the excerpt. Do anyone knows why the TOC cannot retrieve headings from the rest of the page anymore ? And how to fix it without having to put whole pages inside excerpts ?
From this picture up there to this view down there :
For where the main page/info is - insert the excerpt on top / outside of the excerpt and it will display all the headings.
and for the pages where you're inputting the excerpt - utilize the "Table of Contents Zone" macro and this will display only the ToC for the excerpt. hope this helps!
There are some outdated answers floating around – using ToCs in excerpts and including the excerpts directly on the root page doesn't seem to work.
However, I've managed to achieve the same effect using excerpts on the child pages (containing ToC macros) and a children display macro on the root page with "Excerpt Display" set to "Rich content".
Remember to also check "Absolute URL" on your ToC macros.
Weirdly, the excerpt content doesn't appear on the child pages when published (even when "Hide Excerpted Content" is unchecked). So if you want ToCs on the child pages too, you might need to have a second ToC macro outside the excerpt macro.
No idea how stable this solution will be though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It happens the same to me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.