Welcome to the new directory. If you find a bug, please report it on our Issue Tracker.

Arrow up
Arrow down

Joomla! Extensions Directory

logo

Introduction

News Display, Article Elements

This plugin automatically generates a linked table of contents for articles based on the headings' hierarchy. Additionally, it also can add numbers to the headings for easier navigation.

  • Get this

It is based on the existing plugin 'Article Table of Contents' but because it didn't had all I wanted to have I reworked the settings and fixed the code to work with my Joomla installation and produce valid XHTML 1.1.

To use it you have just do install and enable it and adjust the settings to your needs. If you want to disable it for certain articles just place {autotoc enabled=no} inside the text.
You can also go the other way round an disable generating a ToC by default and place {autotoc enabled=yes} (or simply {autotoc}) inside the text of articles where a ToC should be displayed.

If you want to choose a different layout for the ToC in different articles you can select either the table layout or the dropdown layout in the global settings as default, and select another visualization with placing eg. {autotoc layout=table} inside the according article.

Updates:

0.17.6:
- Hide {autotoc} tag in smart search preview.

0.17.5:
- Fix for error with some automatic code minifiers.

0.17.4:
- Fix PHP strict warning.

0.17.3:
- Spanish translations (Thanks to marcanuy!)
- Bug fix with Joomla 3.2 (Thanks to Rajoz!)

0.17:
- Allow setting 'float' (=alginment) per article.

0.16:
- New per article parameters 'addNumbering' and 'addNumberingToc' to select whether the headings should be numbered on a per article base.

0.15:
- Add option to select default state of ToC if using 'hide' link.

Older notable updates:
- New option to show a wikipedia like 'Hide' link for ToCs using table layout.
- Add new option to add additional views where the ToC should be displayed.
- The plugin should now work with both FLEXIcontent and K2.
- Thanks to Frank Thommen there is now a Joomla 1.6 compatible version.
- Established compatibility with the pagebreak plugin:
* Add toc after page navigation
* Changed css class of toc from 'contenttoc' to 'autotoc'

Download for Joomla 1.5: http://www.tomprogs.at/downloads/joomla/joomla-plugin-inhaltsverzeichnisse-fuer-artikel/download.xhtml


Best TOC In Joomla


Posted on 18 October 2014

I've been using Auto TOC for quite some time and have been very pleased with it. Styling it is pretty easy with CSS, so your not limited to a basic style. I also really appreciate the ability to embed it in specific pages and such.



A great plugin that I would recommend to anyone who has lengthy articles. :-)


Hi,



We really need this kind of plugin. I mean, of course be able to show a TOC article, but a plugin so easy to install, to use, to customize and free to download also !



Only "oops" : I did not find how make a donation.



Many thanks and please go on !


Works with J3.0


Posted on 13 April 2013

I tried this on Joomla! 3.0 and it worked as described. If it is not clear from the site, you need to download the 1.6 version and use that zip file.



My only suggestion for possible improvement is to have a category selection option in the backend.



Many thanks to the developer for the hard work, it's a great contribution!


Can not configurate


Posted on 04 November 2012

Unfortunately, I do not see configuration parameters in my 2.5.7. In old oe 1.5.27 it's fine.

Owner's reply: You have probably installed the Joomla 1.5 Version of the plugin. For 2.5 you need the 1.6+ Version: http://www.tomprogs.at/downloads/joomla/joomla-plugin-inhaltsverzeichnisse-fuer-artikel-joomla-1.6-version/details.xhtml

It's working well with k2 but I have some suggestions:



It would be better if you'll add some Java Script ro fix the TOC inside of page even when users scroll down the page.



In addition the extension does not support UTF8 Characters in URL and Titles.



and Finally since there is no pagination functionality in K2, it would be great if you'll add pagination ability in it. I'm sure so many people will love you.


I had been watching this plugin for awhile, but unfortunately it wasn't Joomla 2.5 compatible.



I run a website with HUGE articles and over 40k articles. The default Pagebreak plugin which can create TOC, just really isn't efficient for my site. This plugin saved the day with it's Dropdown feature. It is user friendly and works flawlessly.



One thing I'd love to see added to this plugin is the ability to set TOC based on where Pagebreak code is placed within the Article. I had to disable the Joomla Core Content - Pagebreak plugin, but there were areas where I still wanted to use it, and had to modify those areas to not use Pagebreaks anymore.



Otherwise. Awesome plugin!


Hi, for those who want to display a TOC in most articles, this seems nice.

But I want to display a TOC only in a single article (which the plugin claims to be able to do), it is not quite clear how, though.

I disabled the plugin - putting {autotoc} inside an article, will then just output that very text ...

Owner's reply: If you disable the plugin certainly nothing happens, because if the plugin doesn't run it gets no chance to remove it from the text.
Instead you should leave the plugin enabled but set the plugin option 'Generate for all articles' to 'no'.
If you have any further problems please contact me through my linked homepage.

Very Good


Posted on 29 December 2011

I used seblod 2 cck for my site and I'm not able to display the TOC. But on standard joomla install, this works flawlessly. I hope the developer will be able to add support for seblod. Kudos to the developer.


A small and so useful gem


Posted on 22 December 2011

Very easy to install and adjust. W3C valid. The design can be changed very easily with CSS. Fast and friendly contact. My suggestion of a show / hide link in the table of contents was completed within an hour. Just incredible.



Two more suggestions from me:



Select whether the TOC is by default open or closed.



A switchable discreet animation when opening and closing the TOC would be nice.



Nevertheless, this little tool is a gem.



THANKS!


Very Productive


Posted on 21 October 2011

Extremely useful plugin.



Is it possible to change the display type with the parameter in the article?

For example : dropdown for 1 article, list for other.

Owner's reply: Thank you, good idea :)

Just try the new version...

Article Auto ToC

Version:
0.17.6
Developer:
TomProgs
Date added:
Nov 18 2014
License:
GPLv2 or later
Type:
Free download
Uses updater:
Includes:
Compatibility:
Download Demo SupportNot available DocumentationNot available
  • Overall
  • Functionality

  • Ease of use

  • Documentation

  • Support