Hi.
In Moodle 2.8 i have a quiz (Adaptive mode - no penalties)
What i want to do is find a way to parse the code that builds the result of combined_feedback when a student press the "Check" button.
The reason i want something like this is because in the form of combined feedback we add some images that work as links and one video .mp4.
In the end ,
i want to seperate "buttons" and "video .mp4"
so as to 'break' the combined feedback in two parts and handle,
independentadly with custom.css,
the position of each one.
What i can't find to proceed is what variable to var_dump .
public function feedback(question_attempt $qa, question_display_options $options) {
$output = '';
$hint = null;
if ($options->feedback) {
$output .= html_writer::nonempty_tag('div', $this->specific_feedback($qa),
array('class' => 'specificfeedback'));
$hint = $qa->get_applicable_hint();
}
Thanx .