General help

New Course default Blocks

 
Picture of Ohm Oxide
New Course default Blocks
 

Hello All.

I administer Moodle for a small Community College in Oregon. 

I would like to set up all new course with the same blocks in set positions.

Example, every new class I create has the Participants Block on the top right, with the Messages Block right below that, and the Calendar Block right below that block.

Is there a way I can force blocks into new course in this manner?

Cheers,

-Rob

 
Average of ratings: -
Picture of Ohm Oxide
Re: New Course default Blocks
 

3.1.5 Version

 
Average of ratings: -
Picture of Rick Jerz
Re: New Course default Blocks
Particularly helpful Moodlers

One way to do this is to create a course named something like "shell" or "template," and create a backup of it.  Then, whenever you need a new course, create the new course starting with the backup.

When another offering of an existing course is needed, do essentially the same thing.  Make a backup of the course, then restore to a new course.

I do not know of anyway, however, to make global edits (meaning adding/removing blocks, etc.) to existing courses.

This technique also works for resources and activities, such as forms, quizzes, and assignments.  Start by creating the first one, then duplicate it and move it into other topics.

 
Average of ratings: Useful (2)
Picture of Ohm Oxide
Re: New Course default Blocks
 

That makes complete sense but that would take a great deal of time I usually need to create 30 to 45 courses each quarter so I don't think I could commit to that process.

Thank you.

Rob


 
Average of ratings: -
Picture of Helen Foster
Re: New Course default Blocks
Core developersDocumentation writersMoodle HQParticularly helpful MoodlersPlugin developersTestersTranslators

Hello Rob,

If you have server access, you can change the default block layout for new courses by editing your site config file. Please see the documentation Block layout for details.

 
Average of ratings: Useful (1)
Picture of Ohm Oxide
Re: New Course default Blocks
 

Will do, thank you Helen!

-Rob

 
Average of ratings: -
Picture of Alexander Kurakin
Re: New Course default Blocks
 

Helen, say, please! What does list of blocks mean since we have two columns of blocks? So we should have two lists. What's wrong? Thanks!

 
Average of ratings: -
Picture of Helen Foster
Re: New Course default Blocks
Core developersDocumentation writersMoodle HQParticularly helpful MoodlersPlugin developersTestersTranslators

Hi Alexander,

The documentation Block layout mentions

Note how the colon is used to separate those blocks appearing on the left, from those appearing on the right.

In other words, a colon is used to separate the blocks in the two columns.

 
Average of ratings: Useful (1)
Picture of Alexander Kurakin
Re: New Course default Blocks
 

Helen, thanks! I was inattentive...

But one more question, please! I set

$CFG->defaultblocks_override = ':news_items,calendar_upcoming,recent_activity,navigation,settings';

but Navigation and Settings blocks are still placed left.

How to change this? Thanks.

 
Average of ratings: -
Picture of Rick Jerz
Re: New Course default Blocks
Particularly helpful Moodlers

I don't do this myself, but there is a method of adding the courses via a .csv file, I believe.  I am not sure if this will help, but you might want to explore it.

https://docs.moodle.org/34/en/Upload_courses

 
Average of ratings: Useful (1)
Picture of Ohm Oxide
Re: New Course default Blocks
 

Thank you Rick.

I think Helen's comment will be the easiest.

Cheers,

-Rob

 
Average of ratings: -