Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Publishing a course.

Publishing a course

From MoodleDocs

Publishing a course is a method of sharing your course on a special Moodle site called a community hub. Moodle.net is an example of a community hub.

When you publish a course, you can choose whether to make it available

  • for download (as a course backup file) OR
  • to enrol in on your site


Connecting to a community hub

An administrator first needs to check in Administration > Site Administration > Registration that your Moodle site is registered with the community hub(s) that you wish to publish courses to.

Thus, if you'd like to share your course on Moodle.net, your site needs to be registered with moodle.org.

Note: Only sites which are publicly available on the Internet can register with moodle.org.

Publishing a course for download

First page of the backup process
  1. Go to Administration > Course administration > Publish (only available to users with the capability moodle/course:publish)
  2. Click the button 'Share this course for people to download'
  3. Select the hub where you want to share your course
  4. Enter information about the course
  5. Click the 'Upload this course' button
  6. Select the data to be included in the backup
  7. Create the course backup

The course will then need to be approved by the hub administrator before it appears in the course listing.

How to upload a Moodle course to Moodle.net video:

<mediaplayer>http://www.youtube.com/watch?v=nz7_pHkaCoQ</mediaplayer>

Updating a course backup

If you improve the course and wish to update the course backup, firstly remove it from the hub, then re-share it. You may also share different versions of the same course.

Publishing a course for people to enrol in

You can display a link to your course on any hub your site is registered on. The hub will redirect users your course.

  1. Go to Settings > Course administration > Publish (only available to users with the capability moodle/course:publish)
  2. Click the button 'Advertise this course for people to join'
  3. Select the hub where you want to advertise your course
  4. Enter information about the course
  5. Click the 'Advertise this course' button

The course will then need to be approved by the hub administrator before it appears in the course listing.

You can change the information about the course by clicking the 'Update' button in the actions column.

Note: You also need to make sure that users can actually enrol in the course you have just published. This normally means having email-based self-registration enabled for the site and enabling self-enrolment for the course.

Tip! When you advertise a course try to make the course easy to see for people not registered on your site (allow guest access in your course settings / allow Auto-login guests / allow people to register themself).

Hub listing

You can check whether your course has been approved by the hub administrator and is listed on the hub as follows:

  1. Go to Settings > Course administration > Publish
  2. Click the 'Check it now' link in the hub listing column

Your Moodle site will contact the hub and will then update the status of your course.

published on list.png

Removing a course from a hub

If you wish, you can remove your course from a hub at any time.

  1. Go to Settings > Course administration > Publish
  2. Click the 'Remove from hub' button in the actions column

Capabilities

Only users with the capability moodle/course:publish (by default only users with the role of manager) can publish their course to a community hub. The capability moodle/backup:backuptargethub is also required for publishing courses for download.

Enabling teachers to publish their courses

An administrator can enable teachers to publish their courses on a hub by allowing the capability moodle/course:publish for the teacher role.

  1. Go to Settings > Site administration > Users > Permissions > Define roles
  2. Click the edit icon opposite the teacher role
  3. On the editing role page, paste moodle/course:publish into the filter box
  4. Tick the checkbox opposite moodle/course:publish to allow the capability
  5. Click the 'Save changes' button