Hi, I need to print USER CITY on certificate. My problem is how to get value from USER record. I actually use ver. 3.0 of the module but I consider to upgrade to 4.3.
Thanks in advance.
Hi Vikram,
I'm using 1.7.1 version and absolutely prepared to change some code.
Thanks in advance.
cert_printtext(170, 230, 'C', 'FreeSerif', 'I', 30, $studentname);
Below this line, you need to paste a similar line (the original line remains - don't modify it) with $USER->city instead of student name. You will also need to change 170 and 230 with something sensible which are the x and y coordinates on the resulting certificate where the output will take place. 'C' stands for center, 'FreeSerif' is the name of the font, 'I' is italics and '30' is the size.Thanks Vikram,
It worked great!
Tom
good job, really usefull