-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
2.5.3
We recently started using IMS content packages on our site and someone remarked how can they get rid of the blocks that displayed on the page. Before, we were able to tell them to dock their blocks, but we turned off block docking for usability and support reasons.
I found that just changing the pagelayout to "base" works for both the regular default theme and the new bootstrap based themes.
There is a curious code comment in the view.php file:
//TODO: find some better way to disable blocks and minimise footer - pagetype just for this does not seem like a good solution
//$PAGE->set_pagelayout('maxcontent');
I don't know why it wasn't a good solution in the past. Let me know if there are any problems.