Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Groupings.


From MoodleDocs

Originally each activity in course had to use the same groups. In Moodle 1.9 onwards, it is possible to create a subset of groups aka grouping. Groupings allow you to use different set of groups in each activity.

Groupings are sometimes confused with Available for group members only experimental feature.

Enabling the use of groupings

In Moodle 1.9, groupings are an experimental feature, and so need enabling in order to use them. To do so, check the enablegroupings box in Administration > Miscellaneous > Experimental. A groupings tab will appear on the Groups page.

Adding groups to a grouping


To add groups to a grouping:

  1. Follow the groups icon Group.gif in the course administration block.
  2. Click the groupings tab on the groups page.
  3. If necessary, create a new grouping by clicking the "Create grouping" button on the groupings page.
  4. Click the "Show groups in grouping" people icon in the edit column opposite the grouping which groups are to be added to.
  5. On the add/remove groups page, select the group(s) you want to add to the grouping from the "Potential members" list.
  6. Click the arrow button that points towards the "Existing members" list.
  7. Click the "Back to groupings" button. The group(s) you added to the grouping will now be listed in the table on the groupings page.

Existing groupings can be edited and/or deleted using the appropriate icons in the edit column of the table on the groupings page.

Setting the default grouping

Once some groupings have been created, a default grouping for course activities and resources may be set.

  1. Follow the settings link in the course administration block.
  2. In the groups section in the course settings, select the default grouping.

Selecting grouping in activity

To use a particular grouping in an activity:

  1. On the edit activity page, click the "Show advanced" button in the common module settings section.
  2. Ensure that the group mode is set to separate or visible groups.
  3. Select the grouping from the grouping dropdown menu.
  4. Click the "Save changes" button at the bottom of the page.

The name of the grouping will then appear in brackets after the activity name on the course page. A count of activities assigned to each grouping is kept on the groupings page.

Examples of groupings

  1. In a class, you've divided your students into 4 groups, each with their own author to research. Groups A and B, while they have different authors, are both assigned to write in a forum; groups C and D, though writing on different authors, are supposed to make a wiki. You might create a Forum Grouping, containing groups A and B, and a Wiki Grouping, containing groups C and D. Then, you can make the Wiki activity available to only the Wiki grouping, but you still have your two Wiki sub-groups, as well - C and D - for an added layer of distinction between the work going on about two different authors.
  2. Olympic metaphor: at the Olympics, there are different sports (gymnastics, swimming, track) and many countries. There are two ways to think of an Olympian athlete: by the sport they compete in, and by their nationality. To be part of the United States Olympic Team, you must first be a swimmer, a gymnast, or a runner. You cannot be in the US Team without first being an athlete in a specific sport. The sport is your group. Your country is your grouping. You must belong to a group before joining a grouping.

See also