Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Inactive
-
1.9.1
-
None
-
None
-
MOODLE_19_STABLE
Description
Currently, the only way to exclude a core block from a specific module if "Show blocks on module pages" is enabled and applicable_formats() includes "mod" => true, is to change that function.
As an example, we would like to exclude the People block from the list of blocks that can be added to a wiki page. To do this currently, we have to add "mod-wiki" => false in the applicable formats.
The only blocks that we want to be in the block list for a wiki are the wiki blocks. This would entail making the above mentioned changes to at least 7 or 8 core blocks.
Is there a way around this?