How To Put All Blogs Into One Course
Charles Kelly's Moodle Things

Why Do This?

  • We wanted to have all students using our Moodle to be able to blog and read each others' blogs, while still not allowing outsiders to read the blogs.
  • If you don't do it this way, then students who click "add a new entry" from within their own profile may be submitting entries to another course rather than the designated "blog" course.

What to Do

Create a Meta Course and Assign Child Courses.

  • Create a meta course named "Blogs."
  • Then assign all other courses as "child" courses.

Edit the "index.html" file in the "blog" folder.

After the following code,

It's line 141, in /blog/index.html (in the version, I'm using 1.8 June 2007)

if (empty($courseid)) {
    $courseid = SITEID;
}

..., add this code.

// FORCE ALL BLOGS TO GO TO COURSE #61
$courseid = 61;

Change the "61" to the course ID of your "blog" course.

Page last modified on June 14, 2007, at 05:12 PM
Copyright © 2006-2008 by Charles Kelly
Login