Certificate Displaying Incorrect Date

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
scubatricky
FormaLms User
Posts: 69
Joined: Wed Oct 21, 2020 11:43 pm

Certificate Displaying Incorrect Date

Post by scubatricky »

Having created a certificate and marked attendance for a course, the certificate PDF is displaying the following details dependant upon the shortcode used:

[date_begin] = 00/00/0000 - these are referencing the course table, not the course editions table?
[date_end] = 00/00/0000

[date_complete] = 30/12/2020 (the date that attendance was marked off by the administrator), even though course end date was 02/12/2020. It seems the certificate end date is being pulled from the wrong table (the certificate creation table), when it should be taken from the course editions table.

Is [ed_date_begin] the shortcode for this? It doesn't contain a value when displayed on a certificate.
Last edited by scubatricky on Wed Dec 30, 2020 8:30 pm, edited 2 times in total.
scubatricky
FormaLms User
Posts: 69
Joined: Wed Oct 21, 2020 11:43 pm

Re: Certificate Displaying Incorrect Date

Post by scubatricky »

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

Re: Certificate Displaying Incorrect Date

Post by alberto »

Hi scubatricky, you are right those tags were bugged in older releases, or wrongly described, and were fixed in the latest releases 2.4.2 and 2.4.3

1) cl_date_begin = start date of the classroom edition
2) cl_date_end = end date of the classroom edition
3) ed_classroom = name of the edition
4) cl_classroom = list of the classrooms

Note: until version 2.4.1 parameters 1-3 were displayed only if a location was associated to the classroom. Now it has been fixed in order to be displayed anyway.

In the next release a new tag will be added to display a list of all the dates in a classroom course
Post Reply