I am building a new website to replace a Drupal 7 website that has an online training platform using quiz, quiz_certificate and certificate and a custom content type called syllabus. I am basing the rebuild on how it was put together on the current site but am looking for advice on if there is a more standard or proper way to accomplish this.
We need to display the date that a user passed the quiz and earned the certificate, this is of utmost important as our users return on a regular basis to earn the same certificate. The previous dev used a current date token so that whenever they download a certificate, it has the current date on it and not the date of when they passed the quiz.
I am wondering what the purpose of the certificate is if it can't display tokens related to user quiz results and am wondering if I am using it incorrectly. The token for the time the quiz was passed or ended should be end_time
. Furthermore, anyone can access a certificate, whether they passed or not unless I block their access to it using a math equation in a view based on their score. The quiz is set to "award certificate" and the individual quiz nodes are set to "manual".
If it is not possible to get quiz result-based tokens into the certificate, could I build a view that will act like a certificate?