Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Openlml enrolment plugin.

Openlml enrolment plugin: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 16: Line 16:
* For each teacher a course category is autocreated/autoremoved.
* For each teacher a course category is autocreated/autoremoved.
* LDAP groups (classes, projects and teacher groups) are transfered to Moodle cohorts on system level.
* LDAP groups (classes, projects and teacher groups) are transfered to Moodle cohorts on system level.
* cohorts can be automatically enroled into Moodle courses by providing their name in the course idnumber field.
* cohorts can be automatically enroled into Moodle courses by providing their name in the course idnumber field. To make the idnumber unique, it has to be prepended by the course shortname.
* hourly cron job synchronizes cohorts and cohort enrolments.
* hourly cron job synchronizes cohorts and cohort enrolments.


Line 34: Line 34:
==First steps==
==First steps==
Start by logging in as a teacher. You should see a course category below //teachers_course_context// (usually '''Lehrer''' ).
Start by logging in as a teacher. You should see a course category below //teachers_course_context// (usually '''Lehrer''' ).
Create a course and set the course '''idnumber''' for example to '''5a'''. Wait for an hour and return to the course.
Create a course(f.e. fullname='''course test''', shortname='''test''') and set the course '''idnumber''' for example to '''test:5a'''. Wait for an hour and return to the course.
Review the students list. You should see the students from the cohort '''5a''' as enroled students in your course.
Review the students list. You should see the students from the cohort '''5a''' as enroled students in your course.


Next use the '''Schulkonsole''' to create a  new project (for example p_test) and put some users into it. Go back to  
Next use the '''Schulkonsole''' to create a  new project (for example p_test) and put some users into it. Go back to  
your Moodle course, set idnumber to '''ta,p_test''' and you should see (after an hour) the participants of your project
your Moodle course, set idnumber to '''test:ta,p_test''' and you should see (after an hour) the participants of your project
enroled in the Moodle course.
enroled in the Moodle course.


Now create a project ''p_teachers_ma'' and include the mathematics teachers in it. Go back to Moodle and create a course  
Now create a project ''p_teachers_ma'' and include the mathematics teachers in it. Go back to Moodle and create a course  
'''Math teachers'''. For idnumber fill in '''p_teachers_ma''' and wait for another hour. Now you have all your math teachers neatly enroled in your teachers course.
fullname='''Math teachers''' and shortname='''tma'''. For idnumber fill in '''tma:p_teachers_ma''' and wait for another hour. Now you have all your math teachers neatly enroled in your teachers course.


==See also==
==See also==

Revision as of 07:29, 25 October 2012

The Open LML enrolment plugin is meant to be used together with the german Open Linux Musterlösung linux school server. The plugin connects to the main administration program Schulkonsole and transfers data from there into Moodle, so that user management and course enrolment is simplified and mostly automated.

Features

  • Students and teachers accounts are transferred into Moodle and synchronized with changes in the servers LDAP tree.
  • For each teacher a course category is autocreated/autoremoved.
  • LDAP groups (classes, projects and teacher groups) are transfered to Moodle cohorts on system level.
  • cohorts can be automatically enroled into Moodle courses by providing their name in the course idnumber field. To make the idnumber unique, it has to be prepended by the course shortname.
  • hourly cron job synchronizes cohorts and cohort enrolments.

Dependencies

This plugin depends on the LDAP authentication plugin to be enabled and configured. This plugin depends on the Cohort sync enrolment plugin to be enabled.

Installation

Copy the archive into the Moodle main directory (usually /usr/share/moodle) and unzip it.

Activate the module LDAP authentication and configure it.

Activate the module Cohort sync enrolment.

Review the settings in Website Administration -> Plugins -> Enrolment -> Open LML enrolment.

First steps

Start by logging in as a teacher. You should see a course category below //teachers_course_context// (usually Lehrer ). Create a course(f.e. fullname=course test, shortname=test) and set the course idnumber for example to test:5a. Wait for an hour and return to the course. Review the students list. You should see the students from the cohort 5a as enroled students in your course.

Next use the Schulkonsole to create a new project (for example p_test) and put some users into it. Go back to your Moodle course, set idnumber to test:ta,p_test and you should see (after an hour) the participants of your project enroled in the Moodle course.

Now create a project p_teachers_ma and include the mathematics teachers in it. Go back to Moodle and create a course fullname=Math teachers and shortname=tma. For idnumber fill in tma:p_teachers_ma and wait for another hour. Now you have all your math teachers neatly enroled in your teachers course.

See also