number of attempts

number of attempts

by Bonnie Schroyen -
Number of replies: 2
Is it possible to remove the 'number of attempts' from the lesson?  Its not necessary for students the way I am using lessons - and can put students off.  
Average of ratings: -
In reply to Bonnie Schroyen

Re: number of attempts

by Mark Nielsen -
Hi there,

At the moment, what you are requesting is not configurable. I'm assuming that you want to remove the "This is your x attempt" (or whatever it says) prompt at the beginning of the lesson.

If you are willing, you can comment out the code that prints the message.

In the newest version of lesson, it is on line #457 in view.php. The line you are looking for should be something like this:

print_heading(get_string('attempt', 'lesson', $retries + 1));

So, if you find that line, either delete it or change it to

// print_heading(get_string('attempt', 'lesson', $retries + 1));

Best of luck,
Mark
In reply to Mark Nielsen

Re: number of attempts

by azlan idris -

could you please let me know where is the file located at. i want to remove several lines that is not needed to be displayed to the students.

thank you in advance.