Activities: Subcourse

Maintained by Picture of David MudrákDavid Mudrák
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.
1864 sites
100 fans

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


Picture of David Mudrák
David Mudrák (Lead maintainer)
Picture of Vadim Dvorovenko
Vadim Dvorovenko
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Mudrák
    Tue, Jul 9, 2019, 4:56 AM

    Luis - negative. The plugin DOES create a new grade item and copies over the final grades from the associated course into it.

  • Picture of Marina Ola
    Wed, Oct 30, 2019, 8:23 PM
    First of all, thanks for your work. Then I have a question. I used the plugin to sum up some courses. The final grades in de course (German: Summe für den Kurs), which are displayed when I visit the subcourse are fine, but in the main course they are wrong, mostly one to three grades deeper than in die subcourse. What did I do wrong?
  • Picture of David Mudrák
    Fri, Nov 1, 2019, 8:07 PM

    Thank Marina for raising your issue. I must admit I don't fully understand what is going wrong in your course. Can you please describe the details and ideally also provide some screenshots into a new issue in the plugin's bug tracker at We can continue the discussion there. TIA

  • Picture of Tish Kirkland
    Fri, Nov 29, 2019, 9:34 AM
    Can this be used for activities that don't require grading, but do require completion, e.g. viewing a document, or contributing to a Glossary?
  • Picture of David Mudrák
    Wed, Dec 4, 2019, 6:27 AM

    @Tish Kirkland - Yes, it can. The module can be configured so that the Subcourse activity is marked as complete once the associated course is completed. You need to make sure that cron is running as this evaluation happens asynchronously in Moodle.

  • Picture of Leonardo Lehnemann
    Tue, Jun 9, 2020, 4:44 AM
    Hi, There! Great Work! A suggestion for new functionality: the plugin could fetch the calendar from the subcourses too ...
  • Picture of David Mudrák
    Tue, Jun 9, 2020, 6:00 PM

    Thank you Leonardo for the nice words and for the suggestion. May I ask you to report your particular use-cases for the suggested feature in the plugin's issues tracker at It will need to be thought through as it may not be trivial to design a good mapping of all possible events happening in one course into an activity in another course.

  • Picture of Leonardo Lehnemann
    Wed, Jun 10, 2020, 4:40 AM
    Ok! Thanks! I will do it...
  • Picture of Keenan Nunes-Vaz
    Fri, Aug 28, 2020, 10:50 AM
    Hi David (and any other developers helping with this),
    First off - love this plugin; there's no easier way to make the same content available in multiple courses without duplicating it. My organisation is hoping to make greater use of the Moodle App, so I wanted to know if there are any plans to add app support.
  • Picture of David Mudrák
    Fri, Aug 28, 2020, 3:00 PM

    Hello Keenan. Good to hear you found it useful. Yes, the Moodle App support is something I plan to do as soon as possible as a good opportunity to get familiar with that area. Please watch for the progress on it.

  • Picture of David Mudrák
    Mon, Sep 7, 2020, 7:01 AM

    I am happy to announce that the version 9.0.0 comes with the Moodle Mobile App support.

  • Picture of Kai Niethammer
    Wed, Oct 7, 2020, 3:33 PM
    I also have a question:
    Does the plugin enroll the students automatically to the subcourse, or do I have to do this manually?
  • Picture of David Mudrák
    Wed, Oct 7, 2020, 5:08 PM

    No, the plugin does not look after enrolment. And this is actually intentional feature, not a bug smile Please set up the enrolment in a way that fits your needs best. Some people do it manually, some use and there are event more ways to control it.

  • Picture of Phil Vincent
    Mon, Nov 16, 2020, 9:59 PM
    Hi David, does this work in the opposite way to that show in the diagram too? If I have one course, which I would like to act as the sub-course to several others, would that work? So students would have to complete the sub-course before being able to progress in the others?
  • Picture of David Mudrák
    Tue, Nov 17, 2020, 1:35 AM

    Hello Phil. Thanks for the good question! The Subcourse module does one thing and tries to do it well. The use case you describe seems like something that e.g. could provide.

1 2 3 4 5 6 7
Please login to post comments