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.



    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Blocks, Quiz
    • None


      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.


        Issue Links



              timhunt Tim Hunt
              mrbriz James Brisland
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              0 Vote for this issue
              1 Start watching this issue