How to hide grading method?

How to hide grading method?

by Aditya Dubay -
Number of replies: 2

Hi is it possible to HIDE "Grading method: Highest grade" from quiz????

Attachment quiz_grading_method.png
Average of ratings: -
In reply to Aditya Dubay

Re: How to hide grading method?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The answer seems to be 'not easily', since that message is output at the same time as the Time limit: 20 mins message, and there is no easy way to tell them apart. (If things where done differently, a simple optoin would be to add the CSS like .mod_quiz_grading_method { display: none; } but there is no class name like that.

The easiest way to do this is to comment out this line of code: https://github.com/moodle/moodle/blob/1a727e121ef94ae80dd2a8a13f49049d3bc25ef3/mod/quiz/view.php#L181 . Of course, there are all the issues with editing Moodle core code that you should think about before you do it.

In reply to Tim Hunt

Re: How to hide grading method?

by Aditya Dubay -

Hi Tim,

Thanks smile

I was commenting line 370 of quiz.php and that was not working for me.

 

Aditya