Grades not visible unless Quiz is visible???

Re: Grades not visible unless Quiz is visible???

by Marina Glancy -
Number of replies: 2
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

1. Close the quiz by setting "Close the quiz" date in the quiz settings, docs

2. Leave the course module available but hide it from the course page. In Moodle 3.3 there will be a special way to do it (see MDL-4782), on earlier versions do one of the following:

- increase number of topics/weeks, move quiz to the last topic/week, decrease number of topics/weeks. Now quiz is in "orphaned" activities

- or create a hidden topic/week, move quiz to it, "unhide" the quiz

In reply to Marina Glancy

Re: Grades not visible unless Quiz is visible???

by Ken Masters -

Hi Marina

Thanks very much - I'll give that a try on my next quiz.  (I don't want to experiment with the current one, because my students have been messed around too much already, so I'll just leave the current one as it is).

Thanks again.

Ken


In reply to Ken Masters

Re: Grades not visible unless Quiz is visible???

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
[ Quiz not available ]    Author: QuizAnswers, http://www.quizanswers.com License: CC Attribution   
Quiz on subject "A"


You could also keep the quiz 'shown' and 'hide' the quiz icon by covering it with a button. Edit the HTML of the 'Description' in the quiz settings and insert the following code:

<button style="position:absolute;
               z-index:10;
               top:-6px;
               left:22px;
               height:40px;
              ">Quiz not available
</button>

Make sure that 'Display description on course page' (just below the Description's input box) is enabled. Adjust the top and left position as required.

You could also use an image, a 'div' or a 'p' element, etc.:

<a href="url of the quiz" target="_blank" style="cursor:pointer;">
<img style="position:absolute;
            z-index:10;
            top:-6px;
            left:22px;"
  width="70" height="70" class="img-responsive"
  src="https://moodle.org/brokenfile.php#/1984378/user/draft/754464985/Quiz-Games-256.png"
  alt="Author: QuizAnswers, http://www.quizanswers.com License: CC Attribution">
</a>

or

<a href="url of the quiz" target="_blank" style="cursor:pointer;">
<div style="position:absolute;
            z-index:10;
            top:-6px;
            left:22px;
            width:70px;
            background-color:#d9edf7;
            border: 1px solid #93b8e8;
            border-radius:4px;
            padding:3px;
            text-align:center;">Quiz on subject "A"
</div>
</a>

There are other advantages in using this method:

  • Simple to use.
  • When the quiz is to be taken, the cover (button, image or div element) can be linked to the quiz address which allows opening the quiz in a new tab or new window. Simply remove the link when the quiz is finished.
  • In a given course, different icon covers can be used for different subjects.

(see also)