|
|
|
Sub-Tasks:
|
All
|
Open
|
|
| Sub-Task Progress: |
|
|
|
In course request form, the ability to also suggest a existing course category (eg. via dropdown menu) would be advantageous. The default category for requested courses should be proposed as the default choice, but i can think of many instances where choosing the correct category would be good.
|
|
Description
|
In course request form, the ability to also suggest a existing course category (eg. via dropdown menu) would be advantageous. The default category for requested courses should be proposed as the default choice, but i can think of many instances where choosing the correct category would be good. |
Show » |
|
-added a drop down of current categories with the config default category selected
-added a field for course idnumber
this required adding to mdl_course_request table :
category int(11) Non 0 Pp categorie ou inserer le cours
idnumber varchar(64) Oui NULL PP code ECTS
as per http://tracker.moodle.org/browse/MDL-6160
the following code should also be added to admin/cron.php
mtrace("Checking course creation requests");
if ($pending = get_records("course_request")) { // $admin = get_admin(); $admin=get_record('user','username','your_course_manager'); $subject = "Moodle Course requests pending"; $messagetext = "Course requests have been submitted for approval. Please check $CFG->wwwroot/course/pending.php."; email_to_user($admin,$admin,$subject,$messagetext); }
mtrace("Course requests checked");
Cheers.