Article Table of Contents Plugin

Displays a table of contents for articles. This is similar to page navigation, but uses the headings' hierarchy rather than page breaks. Additionally, it also numbers the headings for easier navigation.

New features in version 1.2:

* Headings are now allowed to contain extra markup/newlines
* The plugin can be disabled on a per-article basis
* ToC items are indented to match the heading hierarchy
* A new option allows to replace the ToC by a drop-down menu

Don't miss the updated documentation!

Report

bysuncat100 on October 23, 2009
I don't understand why this seems to be the only TOC plugin for joomla articles. I would almost expect it to part of the core system. Anyway, we have this one, and it works just like it's supposed to, so I'm not complaining!

Like suggested earlier, I do think it is quite important to be able to use this on a per-article basis. I only need it for certain documentation-style pages, and don't want it cluttering other pages. However, I found a workaround for this with CSS if anyone is interested:

Edit the CSS so that the table does not display by default, and then create a parent style where the table is displayed again. For those pages(menuitems) where you want the TOC to display, simply add "showtoc" as page-class-suffix. CSS would be something like:

.contenttoc {display: none;}
.showtoc .contenttoc {display: block;}

Hope you get the idea ... and thanks for the plugin!
byteddyboy on May 11, 2009
Being able to create a toc from headings is a good idea. This extension works well, but there is only one setting, either on or off for all content items.

Currently all content items are affected by the plugin. This includes articles where you might want headings (good for SEO) but not a table of contents.

I have also found that it clashes with the Simple List extension.

What would be good is a plugin which could be activated on a content by content basis.
I love this plugin. I used it for creating a little wiki on our intranet.
We wanted a article index just by making some headers.

Also nice is the numbering.

There were a few problems, but with the very fast emailsupport of Thomas it was solved in no time.

Its important to deactivate some native plugins as page-break and the page-navigation.

Then install this plugin, and it worked fine!
bydaglutton on January 29, 2009
This is a fantastic extension.

I have been looking for something like this, to create a TOC in my articles. So I looked for "table contents" in Joomla! extensions directory and guess what I found in the bottom of the search result list? "Article Table of Contents", a simple yet awesome extension.

Do you want easy TOCs being added to your article, this is what you need.

This is a MUST have extension.
This extension is exactly what I've been looking for.
I wanted to make a long article using numbered headings 1.1,1.2,etc, and have a Table of Contents links at the very top of the article which when clicked would scroll down to that section heading of my article.

I know Joomla has a pagebreak feature, and there are a couple extensions that build on the pagebreak function, but I didn't want to break my article into "pages" as this would make the article too bulky to navigate through and otherwise just look ugly.

I was about to do it the hard way, html coding.. but then I found this extension, it does exactly what I was after!

Also the support from Thomas was top notch, he showed me where I was going wrong (don't put any tags between the and tags.. if you do, that header will not be included in the ToC at the top of the page,. which, is a good idea if you -don't- want that header to be included..).

Thomas also showed me how to add the CSS code from the default joomla theme into my current existing theme so that his ToC extension would look the way it's supposed to :)

all in all, an excellent extension and excellent support.

Thanks!