Table of Contents Generator
Maintained by
Ben Chenoweth
Automatically generated table of contents for a page of content.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
In public function filter(), add the following lines :
if (strpos($PAGE->url,"wiki"))
return $text;
after these lines :
if ($PAGE->pagelayout <> "incourse")
return $text;
[contents]
to generate the table of contents
-Sirisha
-Derek