Open tanchon opened 4 years ago
How do you create a subgroup? I just cannot find the option to do that and your screenshots do not help me find that option
When you are in the Groups tool of a course and there are still some groups that had been created => you click on the green circle with a + to add a group
and you have this menu : the second part is for subgroups (it's very useful).
Thanks.
Tanchon
Hi,
I found a way to avoid the error message, by commenting some lines into the groupmanager.lib.php file :
It doesn't completely solve the issue (because the max_student isn't defined), but it is a way to create subgroups without error message.
After the process of creation, it is possible to define max_student in the subgroups properties) : by default, the max_student is 8***** (i don't know how this value is determined). Due to that, the number of students in sub_groups cannot exceed 8 (it must be possible to adjust it).
In the short term, i think this solution is acceptable.
Thanks.
Tanchon.
***** may be, is it due to the "maximum max number of students" into a category, defined by default to 8 with the function "create_category" into the groupmanager.lib.php file (i think it should be undetermined by default... because 8 is arbitrary) ?
I modified the value defined in the function create_category (in groupmanager.lib.php) : i changed the value from 8 to 0 (0 = no limit).
Now, the adjustement below (see the commented block from L386 => L390) works perfectly: whatever is the number of students to share between sub-groups, it's ok (if we don't modify the max value, the number of students is limited to 8, because new sub-groups are created into a new category with a max student of 8).
Tanchon
I precise that to have the possibiliy to create subgroups you must have some groups previously created AND students enrolled in these groups.
Hi,
There is a bug with the subgroups creation process. It occurs on my 1.11.12 platform and the bug is reproduced on 11.chamilo.org (see here)
To Reproduce Steps to reproduce the behavior:
Despite this message, the groups are created :
Expected behavior No error message when i create subgroups
**Server Chamilo 1.11.12 (reproduced with 11.chamilo.org)
Additional context The created subgroups seem to be ok despite this message.
Thanks.
Tanchon