Your Moodle version

Activities: Group choice

Maintained by Picture of Nicolas Dunand Nicolas Dunand
This module allows students to enrol themselves in a group within a course. The teacher can select which groups students can chose from and the maximum number of students allowed in each group.
Moodle 2.2, 2.3, 2.4, 2.5, 2.6

This module allows students to enrol themselves in a group within a course. The teacher can choose from which groups the students can chose, and the maximum number of students allowed in each group.

Depending on the activity settings, the students can view the members of each group before making a choise, and change their selected group until the deadline.

Potential privacy issues

Depending on settings chosen by a teacher, students may see what groups other users have chosen.




Picture of Nicolas Dunand
Nicolas Dunand (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Angelo Calò
    Mon, Oct 6, 2014, 11:01 PM
    Hi Nicolas,
    this is a great module - I'm running 2.6.4 and there is something wrong with images when i try to show description in mod/choicegroup/view.php page
  • Picture of Mike Keyes
    Tue, Oct 7, 2014, 3:41 AM
    Noticed when you select a group to display from the visible groups drop down, the list of responses are not limited to that group. Rather, all responses are still displayed.
  • Picture of Luiggi Sansonetti
    Fri, Oct 31, 2014, 8:10 PM

    on a 2.7 Moodle, is it possible to notify by mail the student when he makes a choice in the choicegroup activity ?

    i'll be very interested by this little function

  • Picture of Nicolas Dunand
    Fri, Oct 31, 2014, 8:23 PM
    Hi Luigi,
    It would be pretty trivial to make an event listener to listen for the \mod_choicegroup\event\choice_updated event and to send an e-mail to the user when received. But what would be the point? And I guess it should be configurable?
  • Picture of Luiggi Sansonetti
    Fri, Oct 31, 2014, 8:33 PM
    the goal is to notify by email the student's group once he has chosen his group
  • Picture of Mark McKay
    Thu, Dec 18, 2014, 7:28 AM
    Hello Nicolas,

    Do you have an estimate on when this will be compatible with 2.8?


  • Picture of Nicolas Dunand
    Wed, Jan 7, 2015, 11:30 PM
    Hello Mark,

    This is already compatible with Moodle 2.8, as there are only minor changes in the Moodle API between Moodle 2.7 and Moodle 2.8. My preliminary tests showed no problem whatsoever, but I'm waiting for final test results to officially announce Moodle 2.8 support.
  • Picture of Mark McKay
    Thu, Jan 8, 2015, 5:16 AM
    Thanks Nicholas!
  • Picture of Nicolas Dunand
    Thu, Jan 8, 2015, 8:27 PM
    Here you are, Mark.
  • Picture of Luiggi Sansonetti
    Thu, Jan 8, 2015, 9:25 PM
    I've installed the latest version, but there is not the email notification option...
    maybe the next release ?
    I hope...
  • Picture of Nicolas Dunand
    Fri, Jan 9, 2015, 6:23 PM
    Hi Luigi,

    I didn't have time to implement this so far. I'll keep it in mind though as it is visible in the GitHub issues of this plugin.
  • Picture of Monica Franz
    Fri, Jan 30, 2015, 5:47 PM
    Hi Nicolas,
    I've installed the newest version while upgrading to Moodle 2.7.3. Is the help text correct for the setting Groups?
    'Here is where you specify the options that participants have to choose from.

    You can fill in any number of these. If you leave some of the options blank, they will not be displayed. If you need more options, click the "Add 3 fields to form" button.'

  • Oam
    Tue, Feb 10, 2015, 10:13 PM

    We installed the lastest version and now we got this error when we try to access to choicegroup activity :
    Fatal error: Call to undefined method cm_info::create() in /moodle/mod/choicegroup/lib.php on line 832

    We are running Moodle 2.7.5 and we found that the create() function does not exist in Moodle 2.7 !
    The function only exists in moodle 2.8.

    You can check this here :
    "Static Public Member Functions
    static create ($cm, $userid=0)"

    no create() function

    Can you fix it ? (maybe by creating branchs for each version ?)

    I create an issue :
  • Picture of Nicolas Dunand
    Thu, Feb 19, 2015, 10:51 PM
    Hi Pascal,

    Sorry about that. I just released a new version taking care of this. The plugin works now as expected on Moodle 2.7 and 2.8.
  • Picture of Nicolas Dunand
    Tue, Feb 24, 2015, 11:20 PM
    Thanks for pointing this out. Indeed, these instructions refer to an older version of the module and have to be updated. I'll correct this for the next release of the plugin.
1 2 3 4 5 6
Please login to post comments