We have been rolling out an updated Moodle based training site and recently I was asked to be able to create multiple certificates within a single course. I found it fairly easy to modify /mod/certificate/type/A4_non_embeddded to reference the name of a certificate item in the course and get a matching certificate to the title. To make this change you should modify the certificate.php-file for the desired type in my case A4_non_embedded and replace “$course->fullname” with “$certificate->name”.
So the end result would look like the following highlighted line:
While I did play around with the idea of updating the underlying table with an additional column I didn’t think that it would be prudent and very likely to break in a future release.
Leave a Reply