add Blocks

Re: add Blocks

by Jon Bolton -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Testers
Option 1

  1. Add the block to the front page
  2. Click on edit/configure icon in the block header
  3. Scroll down to "Where this block appears"
  4. Select "Display throughout the site"
  5. Scroll down to "On this page"
  6. Select "Display throughout the site"
  7. Set "visible" to "No"


Option 2

Set the default blocks for all courses via your config.php file - see https://docs.moodle.org/32/en/Block_layout for more info.


Option 3

Create an event observer for the \core\event\course_created event - see https://moodle.org/mod/forum/discuss.php?d=318965#p1279477 for more info.


Option 4

Run a SQL query that pulls in blocks to courses on demand - see https://moodle.org/mod/forum/discuss.php?d=318965#p1377516 for more info.


Average of ratings: Useful (1)