Afternoon all and welcome to my latest blog post. This week I want to look at how we can use functions in Moodle to automatically assign students into class groups within a course.
As I am sure all of you reading this would know, Moodle is traditionally a “course based” system. And while this works great for most educators, the reality is that we need to have some way of splitting students up into easier to use groups. In Moodle, we call these “Groups”…..Hard huh?
The old fashioned way of doing this would have been to manually assign students to groups or to work on a fancy importing procedure. Both of which are painful. So how about a third easier option which involves using Group enrollment keys.
The Procedure
First the course in question must have an enrollment key set. What it is is irrelevant, Moodle just needs to know a key is needed to enter this course
Go into your courses “Groups” settings from the Administration menu and create a new group. You will see that you can also set an enrollment key for each group. Each of these keys must be unique.
You can also add images for each group if you wish. This helps students differentiate each other when in combined tasks.
Thats It! Its now set up. Now when a student enters and types in a key Moodle will first look at the course key. If it matches it will let them in. If not however it will now compare the students key against each of the groups. If it matches one of the keys required by a group it will then enroll them into the course and automatically assign them to the matching group. Easy as that!
Use In Enterprise
This is a great way of locking things down within Enterprise/Business Moodle installations. When a user has paid for or is in a position to enter a course you typically want to separate them into classes or intakes. Rather than constantly enrolling them yourself or changing course keys, now all you have to do is create a group (i.e. “January Intake