Joseph Rézeau による投稿

画像 Core developers 画像 Plugin developers 画像 Testers 画像 Translators

Hi Pedro,

Copying and pasting the student's quiz responses to a Word document seems a strange idea. Why don't you print directly from the Moodle interface in your web browser to your printer? That way my workaround would work.

Anyway, if you do not want the history of responses to appear at all in your quiz review, you can hack file /moodle/mod/quiz/review.php (moodle 1.6) around line 240

replace

$options->history = ($isteacher and !$attempt->preview) ? 'all' : 'graded';

with

$options->history = null;

Joseph

画像 Core developers 画像 Plugin developers 画像 Testers 画像 Translators

Hi Pedro,

You can easily "hide" the History of Responses by adding just one line to one of your actual theme's CSS files. In Moodle 1.6 or 1.7, if there is already a .que .history {} CSS rule somewhere, add a display:none; line to it. If there is no such rule, then just add

.que .history {display:none} at the end of one *.CSS file.

See attached screen shot.

Joseph

添付 image00.jpg

Moodle in English -> General help -> Rollover image -> Re: Rollover image

- Joseph Rézeau の投稿
画像 Core developers 画像 Plugin developers 画像 Testers 画像 Translators
Matt,
I expect your rollover image works thanks to some piece of Javascript code? For security reasons Javascript is not allowed in Moodle in pages which are written using the WISIWYG HTML editor.
Starting with version 1.7, however, the admin can authorize trusted users to put Javascript in their pages.
What is your Javascript code like? Which Moodle version are you using?
Joseph