Help Needed: Automating Certificates and Restricting Course Access After Completion #6040
-
Hello everyone, I'm using Chamilo 1.11.28. I need some help with the following points related to Chamilo: Automating Certificate Issuance: Restricting Course Re-Access After Certification: Any guidance, tips, or best practices would be greatly appreciated. Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @GenApophis To setup automatic certificate issuance within a learning path, you need to:
This generates the certificate independent of whether they click the button or download it or not. It should look something like that (I'm giving you the unstyled version): |
Beta Was this translation helpful? Give feedback.
-
About restricting course re-access after the certificate is generated: Course access is determined by the main/inc/local.inc.php file. There are several blocks that each match a specific, and sometimes complex, access method, and then around line ~1085 and up to line ~1835, you will find another series of blocks that check $_cid (course id) and $session_id. If you want to remove access as soon as they have generated their certificate, you would have to do something in the main/lp/lp_final_item.php script to ensure that you force a redirect (I wouldn't do that if I were you, because then there's an issue of whether they have actually been able to download their certificate or not), but if you want to cut them some slack and allow them to continue in the course until their next logout/login, then you can modifiy local.inc.php to include a check on the If you see the user already has a certificate, you could use the default If you look a bit further, you might want to additionally remove the course from their courses list, but this brings the issue of where you do that check, because if you do that in the main function that lists the courses and sessions to which the user has access, you might also remove the ability for that user to ever see his/her certificate again on the platform... I'll leave that part as an exercise to you 😉 |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #6050 |
Beta Was this translation helpful? Give feedback.
Hi @GenApophis
To setup automatic certificate issuance within a learning path, you need to: