Table of Contents Generator

Filters ::: filter_toc
Maintained by Ben Chenoweth
Automatically generated table of contents for a page of content.

Table of Contents Generator 2

Moodle 2.1, 2.2, 2.3, 2.4
Released: Saturday, 2 February 2013, 2:03 PM
Table of Contents (TOC) filter
Readme for version 2.


The Table of Contents filter scans text for heading tags
(h1-h4 in this version) and automatically generates a nested
list of these tags as a table of contents. Each link in the table
is made into an html link to the actual heading, and the heading
itself is given a backlink to the table of contents.

TODO
====

This version contains no configuration page - it is intended that
a future version will provide the ability for the user to modify
the various text elements added that are currently hardcoded.

CSS
===

CSS styling may be used to modify the appearance of the table. The entire
table is contained within a div with the 'toc' class. The backlinks have
the class 'toc_link' applied to them.

Version information

Version build number
2013020201
Version release name
2
Maturity
Beta
MD5 Sum
68ccb020915603028fd03acb9c506b12
Supported software
Moodle 2.1, Moodle 2.2, Moodle 2.3, Moodle 2.4

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation