Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24727

Quiz not showing blocks during an attempt if the quiz has been setup to show blocks.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 2.0
    • Blocks, Quiz
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      I've tried a few things.

      I've added in a HTML block at the top of the course and set it to display on any page.

      Then I've got into the quiz as a teacher and added a block at in setting it as visable only when in this quiz, but accross all mod-* pages

      I then started an attempt as the teacher and added in a block to that page, setting it as visible only within the Quiz, but across all pages.

      I then set "'Show blocks during quiz attempts" to yes (Note: When the page came back it was set to no.. see * further down)

      I logged in as a student and couldn't see the blocks during the attempt.

      • After going round in circles for a few minutes I realised that the show blocks option was never being set. It would always say "No" when I came back to the quiz settings page.

      I've noticed that in the DB config_plugins table where it holds the quiz settings it has a bunch of settings. I have noticed that all the "Advanced" settings have two fields in that table. i.e. showblocks = 0 AND showblocks_adv = 0

      II set them both to 1, but it didn't make any difference to this test case.

            timhunt Tim Hunt
            mrbriz James Brisland (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.