Userprofile fields in PDF templates from Certify

Events happening in the community are now at Drupal community events on www.drupal.org.
svena's picture

Is it possible to add fields from userprofile in PDF template?

Availible field according to Certify documentation is:
'site_name' (Site name)
'full_name' (Full name of user)
'email' (User email address)
'certificate_name' (Certificate title)
'certificate_desc' (Certificate description)
'score' (Score)
'issued_date' (Date)

I need to show fields from Quiztakers user profile in the cerificate.

Do anybody have a solution for this?

Comments

Open an issue at

WizOne Solutions - https://wizone.solutions - Drupal module development, theme implementation, and more
FillPDF Service - https://fillpdf.io - Hosted solution for FillPDF

hook_certify_pdf_alter()

fuzzy76's picture

There is a hook for that, it's just not documented afaik. It was implemented as part of this issue.

Quiz

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week