Automatic Toc building


Remember Wikipedia's table of content, that creates anchors and links automatically from page titles : we've enjoyed the feature on MODX CMS, an old but still efficient opensource content management system for PHP / Mysql. Two plugins are available for this software, free of course :  The Automatic Page TOC Generator plugin and the  Automatic TOC and Navbar work the same way, via a simple process that parses H1 .. H6 tags, takes HTML within, builds the table of content, and  inserts the generated table of contents anywhere in your template. Many options are available that can specify explicitly the area to be indexed or put a navbar before the heading to get bazck up to the top of the page. The result can be as shown above on the web site (work in progress).

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *