Adding text from user profile field to certificate

Re: Adding text from user profile field to certificate

by Raymond Fürst -
Number of replies: 0
The standard certificate.phps use only fields from the certificate data record itself. When a certificate is issued, data from the user record is copied into the certificate record, and the certificate uses this data to be displayed.

There are two possible solutions:

  1. add a field to the issued-certificates-data-table and modify the module so it copies the license data into that field. Plus have the certificate.php display that field.
  2. add a select-command to your certificate.php, much like your second thought. You can use the field userid to identify the student.

I'm not sure if the AND-operator in your select-function is correct here. You should select "licensenumber" from "user_info_data" where userid=$certrecord->userid