I'm trying to get the certificate from an external site. I'd like to have a link like:
E.g., if you have the code, then you can pick up the certificate. I do NOT want the user to have to log on, or to have to know the Module id or other internal database numbers in order to have to do this.
I know when the user is complete and has a certificate ready, and I [could] know the certificate issue id (e.g. mdl_certificate_issues.code). I was hoping there'd be a function that could:
- generate the disk version of the certificate, if required
- open its pdf in the browsers default behaviour
anyone got anything similar or can point me in the direction of a modification that will allow this behaviour?