Table of Contents - set it up globally?

Hi

I would like to know if it is at all possible to somehow define the global layout of pages so that each pages contains a table of contents somewhere (at the top, or like in a box/panel on the right hand side, ...).

Until know I only know about the {toc} macro, which creates good customizable tables of contents, but has the drawback that we'd have to add this macro on each and every last wiki page. This is quite a pain to do in the first place, but beware if the preferred TOC-layout changes at some point in the future - we would have to change all pages all over again...

So what I'm looking for is some layout option or whatever, that lets me define 'globally' (either for all spaces or just on a per-space basis) that each wiki page displays a table of content. I saw that it is possible to have some sort of 'navi frames' but only with the page-tree and not with the in-page-table-of-contents.

I'd much appreciate any input to this point.

Thanks!

.f

1 answer

1 accepted

Inside of your Administration page there is a

Edit Global Space Layout

Option on the left side. This will allow you to globally insert stuff into your pages. Some themes however do override these changes so you will have to choose your themes wisely.

Thanks, in the meantime I figured out that I can use the space layout to insert macros ({toc} in my case) into some areas of the page...

I went for the 'Page Top' area. Now my tables of contents are all located above the page title, but its still better than nothing.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

110 views 2 4
Read article

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