Installed Quiz module and certificate module per instructions. Using TCPDF to generate pdf.
Generated Certificate with simple text in the content of the "Certificate Body". When "previewing" the PDF in admin/build/certificates/templates, it produces a pdf file with a horizontal line in the header and footer with Page 1 of 1 in the footer (see attached). It creates a PDF filename correctly. It does not place any of the simple word content in the PDF.
When completing the quiz, it reveals the certificate option but produces the above.
It should be noted that it will generate content within the PDF when using the print module on other pages... just not sure why it won't place the text from the certificate body onto the generated certificate.
Any other thoughts would greatly be appreciated?
Thanks in advance!
kcarey
| Comment | File | Size | Author |
|---|---|---|---|
| 2012_November_CME_Quiz.pdf | 725.75 KB | kraycarey |
Comments
Comment #2
djdevinI actually haven't tested specifically with TCPDF, there must be something I missed. I'll give it a try, but for now if you try wkhtmltopdf (a better PDF generator, honestly) it should work.
Thanks for reporting.
Comment #3
djdevinCommitted, 1cb3119
Please give the 2.x dev branch a try, I believe the TCPDF issue is fixed.
Comment #4
kraycarey commentedThat fixed it! Thank you! I use TCPDF for another php function that generates a PDF. Will look at wkhtmltopdf.
Thanks again for your quick help!
Comment #5
djdevinComment #6
djdevinComment #8.0
silverwing commentedadded information for clarification.