Do Not Display Add A Block in Gradebook

Re: Do Not Display Add A Block in Gradebook

- Nancy K Hoke の投稿
返信数: 3

Hi Wendell and thank you for the reply.  It is when Editing is ON that I would like to be able to either dock Add A Block or just not have it appear at all in the gradebook.  For our faculty on laptops - it takes up too much of the screen - and if it was not there - the display would be longer and they could see more of their graded items.  Any additional ideas?

Thank you - Nancy K.

Nancy K Hoke への返信

Re: Do Not Display Add A Block in Gradebook

- Bob Puffer の投稿

What Wendell is saying is there are two "Editing ons", one for the course and one for the gradebook (allows you to enter grades into the grader report).  Turn off "editing on" for the course in order to get rid of the add a block block.  You can still have editing on for the gradebook.

Bob Puffer への返信

Re: Do Not Display Add A Block in Gradebook

- Susan Mangan の投稿

OK I have a scenario ... some of our faculty don't realize their course editing is on.  They get to the gradebook and there's that annoying 'add a block block'.  If they attempt to turn course editing off  via the course navigation menu they get bumped back to the home page where they then having to navigate back to the gradebook.  I'd love to find a solution where this block doesn't even appear in the gradebook - or perhaps a way to automate turning course editing off when this page is hit.  Any ideas?

UPDATE: re-tested and it appears as though users are no longer bumped back to home page - this is a good start 笑顔

Susan Mangan への返信

Re: Do Not Display Add A Block in Gradebook

- Robert Russo の投稿

Modify the following to your theme's config.php.

    // The pagelayout used for reports
    'report' => array(
        'file' => 'report.php',
        'regions' => array(),
        'options' => array('nofooter'=>false, 'nonavbar'=>false, 'noblocks'=>true),
    ),

Setting noblocks to true stops the ability for anyone to add a block to the grader report page.