ConfigTabs plugin: Difference between revisions
From MoodleDocs
Juan Leyva (talk | contribs) |
Juan Leyva (talk | contribs) |
||
Line 19: | Line 19: | ||
*Edit your theme/s header.html file and add this line just before the </head> tag | *Edit your theme/s header.html file and add this line just before the </head> tag | ||
<?php | <?php include_once("$CFG->dirroot/local/configtabs/configtabs.php"); ?> | ||
== How it works == | == How it works == |
Revision as of 21:25, 6 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