Hack the coding at view.php of the quiz module

Hack the coding at view.php of the quiz module

by udara weerakoon -
Number of replies: 0
After attempting the quiz (save and submitting the attempt) http://localhost/moodle/mod/quiz/view.php?id=3 output gives the attempted number and date it was completed. There is button called “Continue” which redirect user to the course again. But i want to change it. When student presses that “Continue” button s/he should logout from the system automatically. I think the function that are calling when clicking some one at “logout” url (at right hand side top corner of the page) can be used. But I'm unable to find out from where that continue button comes up with its event handling. If any one can suggest me methodology i would be much obliged for that. I try to use moodle as an eassessment system by doing some modifications at coding level

Thanking you,

with regards, udara

Average of ratings: -