My client, for some sort of privacy issues , requested that only firstnames of students appear in places like participant lists and forums. No problem there - we changed Security -> Site Policies - Full Name Display to "First Name". Mostly this is OK but ...
Now the course completion certificates only show the first name, and they really should show the first and last names.
I've spent a few fruitless days banging my head on this one.
thanks
Doug
But now having read your customizing instructions very carefully again .... ten minutes - SUCCESS!
in about line 107 of mod/certificate/type/custom_landscape/certificate.php
this:
cert_printtext(170, 230, 'C', 'Helvetica', '', 30, utf8_decode($studentname));
becomes:
cert_printtext(170, 230, 'C', 'Helvetica', '', 30, utf8_decode($USER->firstname . ' ' . $USER->lastname ));
Thanks for a great mod
Cheers
Doug
Lovely! I do love the collaboration of open source so much.