Collapsed Topics course format
The Collapsed Topics course format is similar to the standard 'Topics' format except that all topics (except '0') can be 'toggled' on and off. This reduces clutter in courses that have a large number of topics, lots of content in the topics or a combination of the two.
Collapsed Topics can be downloaded from the Moodle Database entry or by choosing one of the following:
Please follow the instructions contained within the Readme.txt file contained in the download.
SelectingTo select the format, simply choose it from the list course settings. To show / hide a topic just click on its toggle.
When refreshing the page, the state of the 'toggles' is remembered. This is on a per browser session per course basis for as long as the browser remains open.
Changing the look
Most of the formatting is contained within the file 'topics_collapsed.css' which is fully commented to facilitate easy manipulation of specific elements. For example, if you found that in your particular web browser the 'Topic x ' text was too big...
Then you can add an addtional 'font-size:0.6em;' to the 'tr.cps td.cps_centre' class.
If you want to change the look and style of the arrow, simply change 'arrow_down.png' and 'arrow_up.png'.
Q. Is Collapsed Topics Moodle 2.0 compatible? A. Not yet, but a version is planned.
Collapsed Topics has been developed by and is maintained by Gareth Barnard with invaluable input from:
- Anthony Borrow
- Frank Ralf, Matt Gibson, Howard Miller and Tim Hunt who commented on the Developer Forum
- Craig Grannell - Snub Communications who wrote the article 'Collapsed Tables' in .Net Magazine Issue 186
--Gareth Barnard 08:51, 17 August 2009 (UTC)