Hiding all blocks from activities/resources in 2.7.1

Hiding all blocks from activities/resources in 2.7.1

- Sergey Ab の投稿
返信数: 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.

Sergey Ab への返信

Re: Hiding all blocks from activities/resources in 2.7.1

- 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.