//////////////////////////////////////////////////////
//                                                  //
//                                                  //
//          UserCategories has created by           //
//          Alicia García Holgado - GRIAL           //
//             University of Salamanca              //
//              http://grial.usal.es                //
//                                                  //
//                                                  //
//////////////////////////////////////////////////////

IMPORTANT: This version is NOT a module for Moodle.
It is a extension for "My Moodle". It allows that courses
in My page are grouped by personal categories.

Only install on versions >= 1.9.

BBDD suported has MySQL and PostgreSQL


Here is a basic outline of the installation process,
which normally takes me only a few seconds:

1) Copy "usercategories" folder into moodle mod folder, "moodle/mod/"

2) Login by Admin, and click on Notifications link (Administration Block) or reload for install. In this moment
if the bbdd structure not created, it has been created.

3) Edit "my/index.php". Around line 9 add this:
   require_once($CFG->dirroot.'/mod/usercategories/lib.php');

4) Around line 110 replace this:
   if (empty($courses)) {
        print_simple_box(get_string('nocourses','my'),'center');
   } else {
        print_overview($courses);
   }
   With this:
   if (empty($courses)) {
        print_buttons();
        print_simple_box(get_string('nocourses','my'),'center');
   } else {
        print_overview_usercategories($courses);
   }

For bugs, please contact with Alicia García (aliciagh@usal.es), thanks.
