I would prefer a php if statement in there as opposed to interpreting the course via scorm, which I have no desire to get involved with.
so, I guess what I'm wondering what database fields would be referred to...rather, has anybody successfully completed such a modification and how did they go about it?!
Several months down the line surely I can't be alone...
I was envisaging something along the line of
if record_exists_sql("SELECT * FROM $course WHERE coursegrade>$passgrade AND username=$user") {
echo "Completed!";
} else {
echo "Incomplete";}
suggestions? (i.e. where should this go - as a modified print_course function in course/lib.php perhaps?!)
Courses and course formats
a difficult question, perhaps - course format
This discussion has been locked so you can no longer reply to it.