Activities ::: mod_subcourse
Maintained by Dan Marsden, Catalyst IT
Subcourse behaves as a graded activity. The grade for each student is automatically fetched from a final grade in another course. This allows course designers to organize the learning content into separate units.
Latest release:
3185 sites
179 fans
Current versions available: 12

Subcourse is an activity module that represents the final grade obtained in another course. This allows to create "meta-gradebook" in one course, where all final grades from other courses are aggregated.

  • Grades are fetched automatically or can be fetched manually any time.
  • The grade type and other grade item settings are copied from the original grade total item and can not be changed.
  • Subcourse can be automatically marked as a completed when the referenced course is completed.
  • If the final grade in the referenced course is hidden, the associated subcourse activity grade is hidden, too.

This allows to apply the concept of grades aggregation to a next level and aggregate grades across courses.

Diagram illustrating course final grades aggregated to a main course via the Subcourse instances


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6


Dan Marsden (Lead maintainer)
David Mudrák: Original author and maintainer
Vadim Dvorovenko
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • David Mudrák
    Thu, Apr 27, 2023, 10:07 PM

    Hi Annie. You can always make such a link manually (e.g. via a Label or a HTML block). Thing is, there are scenarios where one course may be a referenced course of multiple Subcourse instances (in other words, two Subcourses in two different courses both linking to the same referenced course).

  • Fa Ahmed
    Thu, Jun 15, 2023, 7:22 PM
    Hi, Can it offer support for Moodle version 4.1.x?
  • gerard van rooy
    Mon, Jul 10, 2023, 5:37 PM
    Hi there. I have 15 sub-courses running and all are connected to a certificate to indicating the results of different courses. But, I get a "Error writing to database. More information about this error" error. I don't know if the problem is with mysql or something else.
    Please help
  • David Mudrák
    Tue, Jul 11, 2023, 6:21 PM

    Hello Gerard. Can you please report this as a new issue in the Subcourse tracker at Github and provide exact steps to reproduce? Also, if possible, please turn developer debugging on and report all the stack messages. TIA

  • Oleksandr Szpinkowski
    Tue, Aug 15, 2023, 1:54 AM
    Good day David.
    Tell me please, is there a detailed instruction on setting up the subcourse?
    I installed to version 3.11 but subcourse grades are not imported into the main course.
  • Mary Blue
    Thu, Aug 24, 2023, 8:38 PM
    Dear David, could you tell me, when you will update the plugin to 4.1?
    We would love to use it, but our Moodle is already on 4.1.4.
  • Paul
    Sat, Aug 26, 2023, 11:12 PM
    Will this be updated for Moodle 4.2 or has it been taken into Core?
  • David Mudrák
    Thu, Oct 19, 2023, 1:43 AM

    Many thanks and good luck to Dan Marsden for taking over the maintenance of this plugin!

  • Carel-Piet van Eeden
    Tue, Nov 21, 2023, 1:22 PM
    This is going to be a gamechanger for us once it is available for Moodle 4.2 - really looking forward to seeing it!
  • Dan Marsden
    Tue, Nov 21, 2023, 1:33 PM
    @Carel-Piet, try the version in github and report any issues you have to the tracker. Thanks!
  • Carel-Piet van Eeden
    Tue, Nov 21, 2023, 8:55 PM
    @Dan - it works an absolute charm, thank you!
  • Fabian Auchter
    Thu, Dec 21, 2023, 6:01 PM
    Hy, I really like the plugin but we're unfortunately on Moodle 4.2. Are there any Upgrading plans?
  • Dan Marsden
    Fri, Dec 22, 2023, 7:49 AM
    @Fabian - the latest versions of our plugins will always be in github, however we don't always remember to update the plugins db entry - I've just updated the plugins db now with the latest versions, but in future please check the version available in the github repo - thanks! smile
  • Roy Jensen
    Sat, Jun 8, 2024, 9:20 PM
    I am using this plugin to create a certificate program that is a collection of courses.

    I would like to make it such that some courses are mandatory and some courses are optional, with the learner required to take a certain number of optional courses.
    For example: a learner must take four mandatory courses (I can implement this) and also take four of seven optional courses (I don't know how to implement this).
    Is this possible? Thx
  • Dan Marsden
    Mon, Jun 10, 2024, 7:30 AM
    @Roy - try asking that in the forums - it's really a question about course completion settings rather than sub course itself.
1 2 3 4 5 6 7 8 9 10
Please login to post comments