This patch fixes a bug with the display of course begin and copletion date in the "mycertificate" module.
When more than 1 certificate is available, the same date is displayed for all the certificates.
[File removed - find the latest version at the end of the thread]
Mycertificate - Fix for date display bug
Re: Mycertificate - Fix for date display bug
Hi, here's an update to the mycertificate module:
#CHANGE - Add a colum to display the Name of the certificate (removes "first access" column)
#FIX - Problem with the naming of pdf files
#CHANGE - Add a colum to display the Name of the certificate (removes "first access" column)
#FIX - Problem with the naming of pdf files
- Attachments
-
- mycertificate.zip
- (21.35 KiB) Downloaded 348 times
Re: Mycertificate - Fix for date display bug
This won't work, it return error when I try to associate a certificate to a course.
I think this fix needs to edit also \doceboLms\admin\controllers\CourseAlmsController.php about line 1057:
if(!$cert->updateCertificateCourseAssign($id_course, $_POST['certificate_assign'], $_POST['certificate_ex_assign'], $point_required))
is calling a updateCertificateCourseAssign function that has been redefined in your fixed lib.certificate.php, and it's expecting more parameters than the original.
Thanks for your help.
I think this fix needs to edit also \doceboLms\admin\controllers\CourseAlmsController.php about line 1057:
if(!$cert->updateCertificateCourseAssign($id_course, $_POST['certificate_assign'], $_POST['certificate_ex_assign'], $point_required))
is calling a updateCertificateCourseAssign function that has been redefined in your fixed lib.certificate.php, and it's expecting more parameters than the original.
Thanks for your help.
Re: Mycertificate - Fix for date display bug
Fixed and added to Forma 1.0