Mycertificate - Fix for date display bug

Third party modules, patches, bugfixes
Post Reply
User avatar
alberto
FormaLms Guru
Posts: 858
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Mycertificate - Fix for date display bug

Post by alberto » Fri May 11, 2012 3:08 pm

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]
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

User avatar
alberto
FormaLms Guru
Posts: 858
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Mycertificate - Fix for date display bug

Post by alberto » Fri Jun 15, 2012 10:11 am

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
Attachments
mycertificate.zip
(21.35 KiB) Downloaded 42 times
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

jasmines
FormaLms Master
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Mycertificate - Fix for date display bug

Post by jasmines » Wed May 08, 2013 8:15 am

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.

User avatar
alberto
FormaLms Guru
Posts: 858
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Mycertificate - Fix for date display bug

Post by alberto » Fri Nov 22, 2013 12:42 pm

Fixed and added to Forma 1.0
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

Post Reply