Hello Panos,
Thanks for reporting this. I'm afraid I had taken our friend Matt Fedorko's word and not thoroughly checked that it worked for all question types.
Here then is the correct hack for all the question types:
In the mod/lesson/pagetypes/ folder, for each of the following files: truefalse.php, multichoice.php, matching.php:
locate public function display($renderer, $attempt)
a few lines down that function, locate $params = array() and add 'title' at the end:
$params = array('answers'=>$answers, 'lessonid'=>$this->lesson->id, 'contents'=>$this->get_contents(), 'attempt'=>$attempt, 'title'=>$this->title);
--------------------
In the mod/lesson/pagetypes/ folder, for essay.php, shortanswer.php, numerical.php:
where *** = essay / shortanswer /numerical:
locate public function display($renderer, $attempt)
a few lines down that function, locate:
$mform = new lesson_display_answer_form_***($CFG->wwwroot.'/mod/lesson/continue.php', array('contents'=>$this->get_contents()));
and add 'title' at the end:
$mform = new lesson_display_answer_form_***($CFG->wwwroot.'/mod/lesson/continue.php', array('contents'=>$this->get_contents(), 'title'=>$this->title));
Joseph