mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
93 stars 159 forks source link

Allow for Certificate ID to be added to text element for clickable certificate verification #567

Open RogueAgent991 opened 1 year ago

RogueAgent991 commented 1 year ago

Since certificates are issued as PDF, it would be great if a person verifying the certificate could simply click a link and have it verify the certificate.

This works to automatically verify the certificate: https://ABCInstruction.org/mod/customcert/verify_certificate.php?code=aAbBcCdDeEfF

The following text element will takes me to the verification page and verify the certificate. (I removed the square brackets to show the code.)

To verify this certificate, "BRA" a href="https://ABCInstruction.org/mod/customcert/verify_certificate.php?code=Certificate_ID "KET" CLICK HERE "BRA" /a "KET" or visit https://ABCInstruction.org/mod/customcert/verify_certificate.php with the Certificate ID."

What I can't figure out how to do is add the Certificate ID to the text element on the certificates.

Thank you!

RogueAgent991 commented 9 months ago

bump

mdjnelson commented 6 months ago

Unfortunately the text element doesn't provide access to the certificate id. This will require development to complete.