Filters: Table of Contents Generator

Maintained by Picture of Nigel Cunningham Nigel Cunningham
Automatically generated table of contents for a page of content.
27 sites
1 fans


Picture of Nigel Cunningham
Nigel Cunningham (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Just wondering . . .
    Mon, 26 Jan 2015, 10:44 AM
    Does anyone know if this still works with recent versions?

  • Picture of Ben Chenoweth
    Fri, 6 Mar 2015, 6:01 AM
    Yes, we have it working on Moodle 2.8.3, using the Essential theme.
  • Picture of sirisha g@
    Sat, 23 May 2015, 6:14 AM
    I have installed the plugin successfully on Moodle 2.8.3 and also made it active in SiteAdministration->Plugin->Filter->Manage Filters. But I do not see any changes in any of the courses. This might be a dump question but could anyone please let me know how to see the table of contents?

  • Picture of Jon Bolton
    Sun, 27 Dec 2015, 1:26 PM
    Just add
    to generate the table of contents
  • Picture of Zabelle Motte
    Wed, 28 Dec 2016, 5:28 PM
    Still working on Moodle 3.1
  • Picture of Zabelle Motte
    Mon, 18 Sep 2017, 10:09 PM
    Still working on Moodle 3.3 with a slight modification becaus there is a default toc in wiki ...

    In public function filter(), add the following lines :
    if (strpos($PAGE->url,"wiki"))
    return $text;
    after these lines :
    if ($PAGE->pagelayout <> "incourse")
    return $text;
Please login to post comments