Hiding navigation block in 3.2

Hiding navigation block in 3.2

by Peter Svec -
Number of replies: 2

Hi,

I was able to hide quiz navigation block (fake block) in 3.1 by commenting line 120 in mod/quiz/attempt.php

$PAGE->blocks->add_fake_block($navbc, reset($regions));

After this change, the main quiz block used whole width of webpage.

In Moodle 3.2, when I comment this line, navigation block is hidden, but the quiz is not using whole width of the page (only span9), because there is another aside region (span4)

Does anyone know, how to properly hide this fake block?

peter


Average of ratings: -
In reply to Peter Svec

Re: Hiding navigation block in 3.2

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

I wonder if you might have better help in the themes forum but I am hesitant to move this over for now as it is quiz related too!  Let me know if you would like me to move this post over there.

In reply to Emma Richardson

Re: Hiding navigation block in 3.2

by Peter Svec -
I think you can leave this post here. The navigation block is hardcoded in quiz module.