ConfigTabs plugin: Difference between revisions
From MoodleDocs
Juan Leyva (talk | contribs) No edit summary |
Juan Leyva (talk | contribs) |
||
Line 33: | Line 33: | ||
== See also == | == See also == | ||
* [http://moodle.org/mod/forum/discuss.php?d=170396 Help forum] | |||
* [http://moodle.org/mod/data/view.php?d=13&rid=4620 Plugin entry with download link] | * [http://moodle.org/mod/data/view.php?d=13&rid=4620 Plugin entry with download link] |
Latest revision as of 09:04, 7 March 2011
Introduction
ConfigTabs is a local plugin that converts any configuration form in Moodle from a scrolled page to a tab view page.
When a error in the form is displayed the tab with the element involved is activated.
See example image for the Quiz configuration form:
Instalation
- Create (or go to if exits) a local directory in your Moodle root installation dir.
- Unzip there the plugin.
- Rename the resulting directory from moodle-local_configtabs.. to configtabs
- Edit your theme/s header.html file and add this line just before the </head> tag
<?php include_once("$CFG->dirroot/local/configtabs/configtabs.php"); ?>
How it works
It uses YUI components to change the DOM of the page once is fully loaded
Credits
Juan Leyva Moodle profile
http://twitter.com/jleyvadelgado