Forums
1. Date certificate granted
When editing a certificate, there is a token:
Certificate date [node:certificate_granted_node] The day the certificate was granted
However, this token is not filled in like other ones such as:
[node:title] and [current-date:custom:d-M-Y] both of which work correctly. The certificate just displays
[node:certificate_granted_node]
We want to display the date the certificate was granted and not the current date.
2. Certificate text from tokens problem
Because the site has content in 3 languages, there are 3 certificates. However, the tokens display a series of questions marks rather than text. Is this a problem with the HTML to PDF or something else?
We are using dompdf. profiles/opigno_lms/libraries/dompdf/dompdf_config.inc.php
We tried to install wkhtmltopdf using your instructions in the Opigno manual but it does not work on our site. sites/all/libraries/wkhtmltopdf/wkhtmltopdf
We have complete control of the server so can make any setups needed. How can we troubleshoot this?
Hi dkoller,
Hi dkoller,
Inside the profiles/opigno_lms/modules/opigno/opigno_certificate_app/opigno_certificate_app.module, you will find our token configuration, 'certificate_granted_node' and 'list_of_courses'
Use the drupal watchdog() function, that will set send info to admin/reports/dblog, or install the devel module and use the dpm function.
Best regards