I'm running Moodle 3.0.4+ (Build: 20160623) with mod_certificate 3.0 (Build: 2015111601). Has anyone else encountered this? Is it the module causing the issue or Moodle itself? Will upgrading solve this issue? I've attached a couple screen shots to better illustrate what is happening.
I'm running Moodle 3.0.4+ (Build: 20160623) with mod_certificate 3.0 (Build: 2015111601). Has anyone else encountered this? Is it the module causing the issue or Moodle itself? Will upgrading solve this issue? I've attached a couple screen shots to better illustrate what is happening.
Hello,
I am having the same issue. Regardless of whether I use the letter embedded or non-embedded type, the code is only generating A4 size certificates (11.69 8.27 in).
I am using version 3.1.1 (Build: 20160711).
Any assistance would be greatly appreciated. I have used this plugin for many years and really appreciate having it available.
Thanks,
Doug Kelley
The way we do it is to create an A4 jpg file with the logo at the top and signature at the bottom.
put it in the mod/certificate/pix/borders folder
The formatting and positioning is done in:
mod/certificate/type
make a copy of a folder and edit the x and y positions at the bottom of the file until your happy.
Then when creating a certificate in Moodle choose the border image in and type in design options.
Cheers Jimi
Thank you, Jimi. I shall take a look.
Have a great day!
Doug Kelley
I had the same problem and have managed to solve it.
When moodle creates pdfs, it uses the tcpdf plugin which has a file with configurations for all the different paper sizes. The certificate templates for letter and letter embedded indicate that choice in the php code, so then moodle displays the right page size for the certificate when it is generated.
The problem is, the two "letter" size php files have "Letter" - but the value listed in the tcpdf resource is "LETTER" (all caps). I edited the letter-sized certificate.pdf and changed it to all caps, and then the pdf generated with the correct size.
I plan to email the developer of the plugin and let him know that tcpdf has changed its code. Then there should hopefully be an update that fixes this for everyone.
Hope this is helpful. Please let me know if anyone has a different understanding. Thanks
Thank you, Ellen! This fixed the problem for me. Now I just need to redo my certificate borders back to letter size.
I really appreciate it.
Doug Kelley