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

CommentFileSizeAuthor
2012_November_CME_Quiz.pdf725.75 KBkraycarey

Comments

djdevin’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Assigned: Unassigned » djdevin

I 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.

djdevin’s picture

Component: Miscellaneous » Code
Category: support » bug
Status: Active » Needs review

Committed, 1cb3119

Please give the 2.x dev branch a try, I believe the TCPDF issue is fixed.

kraycarey’s picture

That 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!

djdevin’s picture

Status: Needs review » Fixed
djdevin’s picture

Title: Blank certificate » Blank certificate with TCPDF

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

silverwing’s picture

Issue summary: View changes

added information for clarification.