Print Group Name on Certificate

Print Group Name on Certificate

by David River -
Number of replies: 0

I would like to print the group name on certificates for a course.  I found an earlier posting on this (https://moodle.org/mod/forum/discuss.php?d=223959) which describes how to customize the certificate (type) to print the group name, but received the following error:

Coding error detected, it must be fixed by a programmer: mygroupid() can not be used any more, please use groups_get_all_groups() instead.

Any ideas most appreciated.

Average of ratings: -