Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: ConfigTabs plugin.

ConfigTabs plugin: Difference between revisions

From MoodleDocs
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Introduction ==
== Introduction ==


ConfigTabs is a local plugin that convert any configuration form in Moodle from a scrolled page to a tab view page.
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:
See example image for the Quiz configuration form:
Line 17: 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 include("$CFG->dirroot/local/configtabs/configtabs.php"); ?>
  <?php include_once("$CFG->dirroot/local/configtabs/configtabs.php"); ?>
 


== How it works ==
== How it works ==
Line 30: Line 31:


http://twitter.com/jleyvadelgado
http://twitter.com/jleyvadelgado
== 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]

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:

Configtabssample.png

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

See also