Need to modify the course completion process in Moodle

Need to modify the course completion process in Moodle

eftir Chandan Paul -
Number of replies: 1

I have a separate server along with my Moodle DB, which holds all user-course data. In some of my plug-ins I fetch details from API (which operates with the other server) and display in blocks.

My requirement is to customize the code of course completion activity by an user, e.g. if user launches a course, I need to POST some data to the API when user closes the course after completing or without completing the course.

I guess I need to modify the file "mod/scorm/locallib.php", please help me on this.


Version/s:Moodle Version: 2.7.2

Average of ratings: -