default blocks in new courses

Re: default blocks in new courses

by A. T. Wyatt -
Number of replies: 0
Greetings, Mark!

Did you follow these directions? (They were also in moodle.docs, but I am getting a strange string when I go there, so I am sending you back to the original thread.)

http://moodle.org/mod/forum/discuss.php?d=24239

Look for Daryl Hawes post on Tuesday, May 24, 2005

The key is:

$CFG->defaultblocks_topics = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';

Notice that this line only affects the topics courses; you have to selectively change lines depending on what you want to happen with the blocks. Be careful that you use the name of the block as installed. The : is important too, separating what is on the right and left sides.

You can see all the options in config-dist.php; add the changes to config.php. 

Mine looks like this:
$CFG->defaultblocks_topics = 'course_menu,course_list:activity_modules,calendar_upcoming,quickmail';
Good luck! This worked wonderfully for me!

atw