The Elearning Community • Certificate Displaying Incorrect Date
Page 1 of 1

Certificate Displaying Incorrect Date

Posted: Wed Dec 30, 2020 8:20 pm
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.

Re: Certificate Displaying Incorrect Date

Posted: Wed Dec 30, 2020 8:23 pm
by scubatricky
cl_date_begin?

Re: Certificate Displaying Incorrect Date

Posted: Thu Dec 31, 2020 9:28 am
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