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

From MoodleDocs
Revision as of 09:04, 7 March 2011 by Juan Leyva (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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