CMS - expanding to course

CMS - expanding to course

by Janne Mikkonen -
Number of replies: 2
Hi!

A new version of CMS is out (consider it still beta, because it's not widely tested). In this version new features are:

- CMS course format.
- Course teacher can create CMS pages to his/her own course.
- cmsnavigation block renamed from "Site navigation" to CMS navigation.
- CMS navigation block only available for site and course.

NOTE!!!
  If you're updating from older version you'll need to change lines in index.php
  to match this new feature. You also need to change "social activities" block's
  settings a little bit. Open /blocks/social_activities/block_social_activities.php
  and add course-view-cms into applicable_formats() -function:
 
  function applicable_formats() {
      return array('course-view-social' => true, 'course-view-cms' => true);
  }

And again READ README.TXT FILE AND USE AT YOUR OWN RISK...

http://julmajanne.com/stuff/downloads.php

- Janne -
Average of ratings: -
In reply to Janne Mikkonen

Re: CMS - expanding to course

by Don Farion -
Janne,

I just did the upgrade and it worked very well.  I have one additional suggestion for your hack:

Open /moodle/lang/en/moodle.php around line 460 and add this line:

$string['formatcms'] = 'CMS format';

It will update the dropdown menu in the Course Settings - Course Format selection box.

You have my eternal respect and gratitude for this great hack!

- Don

In reply to Don Farion

Re: CMS - expanding to course

by Janne Mikkonen -
Thanks Don,

I'll include that in readme.txt file at next update.

- Janne -