Hiding navigation block in 3.2

Hiding navigation block in 3.2

על ידי Peter Svec בתאריך
מספר תגובות: 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


ממוצע דרוגים: -
בתגובה ל: 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.