highlighting of correct answer is missing in Moodle 1.5

Re: highlighting of correct answer is missing in Moodle 1.5

by Joseph Rézeau -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

The problem of the non-highlighted correct answer in quizzes arises in the formal_white theme for the following reasons.

  1. in formal_white's config.php we can see the following settings:
    $THEME->standardsheets = array('styles_layout');
    ///$THEME->standardsheets = true; (line commented out)
    which means that formal_white does not include the standard theme's color stylesheet
  2. but the .highlight class is not defined in formal_white's fw_color.css stylesheet
  3. consequently, no color will be displayed for correct answers...

I do not know if this was an oversight or done on purpose by the creator of the formal_white themewink. The problem is that users who will user formal_white either as is, or as the basis of a customized theme will be puzzled at the non-display of highlight in their quizzes, and it will take them a long time to realize the cause.

May I suggest to the creator of the formal_white theme to provide a .highlight class?

Joseph