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.