Hiding navigation block in 3.2

Hiding navigation block in 3.2

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


評比平均分數: -
In reply to Peter Svec

Re: Hiding navigation block in 3.2

Emma Richardson發表於
Documentation writers的相片 Particularly helpful Moodlers的相片 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

Peter Svec發表於
I think you can leave this post here. The navigation block is hardcoded in quiz module.