block eledia coursewizard

From MoodleDocs

Overview

This block is a wizard. With this block a user with specific rights can easily create new courses and enrol users into the new course just by adding their e-mail addresses. For e-mail adresses which ar not known in your moodle system, a new user will be created and automatically enroled into the new course. New users will get an e-mail with login data.

You can even add users to an existing course.

For this block there is no need to have the moodle rights to create courses or users. This block brings along three new rights:

  • block/eledia_coursewizard:create_course:
User can create a course with the course wizard block.
  • block/eledia_coursewizard:create_user:
User can add and create users with the course wizard block.
  • block/eledia_coursewizard:change_category:
User can change the category for new course created with the course wizard block.
Without this right the new course will be created in the category of the origin course.

Users who already have the rights to create courses or users or to edit course categories do not need the corresponding right for the course wizard block.

Installation

  1. Make sure you have all the required versions.
  2. Download the Course wizard plugin.
  3. Unzip it into your moodle/blocks/ directory.
  4. Login to you moodle as Administrator and go to Site administration -> Notifications to trigger the installation process.
  5. Go into a course and turn editing on.
  6. Add the block to the course.

For more information see Installing contributed modules or plugins.

Using

The block can be included by the trainer on the course page.

If the trainer got the right block/eledia_coursewizard:create_course or moodle/course:create the block offers a link to create a course.

If the trainer got the right block/eledia_coursewizard:create_user or moodle/user:create the block offers a link to add users to the course.

Create a course

The formular for creating a course consists only of the fields course full name, course short name, course summary and, if the trainer got the right block/eledia_coursewizard:change_category, a field for choosing the course category. Without this right the new course will be created in the category of the origin course. After creating the course a second formular will be displayed if the trainer got the right block/eledia_coursewizard:create_user or moodle/user:create. With this formular the trainer can enrol users into the new course just by adding their e-mail addresses. For e-mail adresses which ar not known in your moodle system, a new user will be created and automatically enroled into the new course. New users will get an e-mail with login data.

Add users to a course

With this formular the trainer can enrol users into the current course just by adding their e-mail addresses. For e-mail adresses which ar not known in your moodle system, a new user will be created and automatically enroled into the new course. New users will get an e-mail with login data.

Notes

The reason why the course wizard brings along own rights for creating courses and users is that a user enroled in a certain course can although create a course or add new users to the course without having the corresponding moodle rights.

Credits

Matthias Schwabe

eLeDia - E-Learning im Dialog GmbH

Mail: info@eledia.de

See Also

Tracker component

Modules & Plugins database entry

Github

You can also find the code on Github.

https://github.com/eledia/block_eledia_coursewizard

NOTE: In Github we use an empty master branch. The different plugin versions can be found in special branches for each Moodle version.