Page 1 of 1

Mycertificate - Fix for date display bug

Posted: Fri May 11, 2012 3:08 pm
by alberto
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]

Re: Mycertificate - Fix for date display bug

Posted: Fri Jun 15, 2012 10:11 am
by alberto
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

Re: Mycertificate - Fix for date display bug

Posted: Wed May 08, 2013 8:15 am
by jasmines
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.

Re: Mycertificate - Fix for date display bug

Posted: Fri Nov 22, 2013 12:42 pm
by alberto
Fixed and added to Forma 1.0