Hi, i've attempted to write a php class for the certificate module which checks the database to see if the user has a scorm package under the same course marked as complete - if so they have access to the certificate activity otherwise they are shown an error. I have inserted this within the view.php module and it seems to display a blank page. Any ideas why this is not working or how to debug moodle code?
General developer forum
PHP reporting class not working - Certificate Module
This discussion has been locked so you can no longer reply to it.