Greetings,
I spent the better part of the weekend working on overriding the certificate files.
Because the PDF never worked for me and the preview window looked bad, by adding classes to divs and custom css rules, I now have a much better admin and user experience.
Since only 2 files need be altered, a simple template override and custom css. rules works just fine.

The major change is adding print buttons to the certificate view(s) so the user's printer can create the PDF or print the document. The certificate is centered on the user's page size.

I've attached a short php file which will give you an overview of my changes.

guru-certificate-changes.zip
3kB
2 months later

Hi, looks great - Im a bit of a novice - how do I apply this to my guru?

Thanks, Ben

Actually this only worked with Firefox.
What ended up working is to install the MPDF using normal upload-to-install process.
I did both a manual upload using FTP and a normal install.
Only then did the system work as it should.

Write a Reply...
You need to Login to view replies.