Hiding all blocks from activities/resources in 2.7.1

Hiding all blocks from activities/resources in 2.7.1

by Sergey Ab -
Number of replies: 1

Hi!

Is it possible to hide all blocks (navigation, settings, ...) from activities/resources by one centralized settings? I can hide blocks from particular resource manually but it is inconvenient.

Thank you in advance.

Average of ratings: -
In reply to Sergey Ab

Re: Hiding all blocks from activities/resources in 2.7.1

by Sergey Ab -

I think it is not possible without rewriting some core code or by creating own module.

What I want - is to render resource or activity page with 'base' layout. In current version layout is hardcoded like $PAGE->set_pagelayout('incourse'); or similar. But it would be nice to have a feature to customize the layout of resource by adding corresponding configurable setting.