+353 (0)1 602 4784
info@enovation.ie
  • Client Support
  • FR
  • UK
EnovationEnovationEnovationEnovation
+353 (0)1 602 4784
  • WHAT WE DO
    • OUR SERVICES
      • Consultancy
      • eLearning Content
      • Build & Design
      • Training
      • Moodle Educator Certification Program (MEC)
      • Hosting
      • Support & Maintenance
    • OUR SOLUTIONS
      • Aura Talent
      • Moodle
      • Moodle Workplace
      • Totara’s Talent Experience Platform
        • Totara Learn
        • Totara Engage
        • Totara Perform
      • Mahara
      • Go1 Premium Content
  • WHO WE ARE
    • About Enovation
    • Careers
  • CASE STUDIES
  • OUR PARTNERS
    • Microsoft Teams
    • IntelliBoard
    • BigBlueButton
  • INSIGHTS
  • CONTACT US

Course prerequisites in Moodle 2

    Home Blog Course prerequisites in Moodle 2

    Course prerequisites in Moodle 2

    Stephen McGuinness | Blog, News | 27 June, 2011

    Moodle 2 has a great new feature called conditional activities.  This allows you define an activity which must be completed prior to a student being allowed access to another activity. You won’t see the conditional activity options as standard, you first have to enabled them at site, course, or activity level.

    The assumption people have when they read about this is that it can work on a course level. Users would like to define a course which must be completed before a student can enter another course. When you go looking for this you find a feature which you would expect does exactly what you are looking for, but it works a different way.

    The way it works as standard in Moodle (2.0.3+) is that when a teacher sets up courses A and B, such that course A is a prerequisite to course B, the student can have access to both courses A and B – and access is not restricted to B but rather, in the completion process, course B cannot be marked as completed by the student unless course A is completed.

    You could consider the term prerequisite has been used confusingly in this scenario because it doesn’t function as a prerequisite to access a course as access but a prerequisite to completion of a course.

    One way to implement a feature which does prevent access to course B until course A is completed would be to add new course settings which are similar to the conditional activity settings for activities.  You could then define a prerequisite course which should be completed before entry to the course would be permitted.

    You would then need to modify the course login process to check if the student has met the prerequisite course requirements, and alert them if they are prevented access to the course.  Simple!

    I have created a proof of concept implementation which is made up of some new core files (a core lib file and language file), a new block and patches to lib/moodlelib.php, course/lib.php & course/edit_form.php

    I have tried to keep the patches to a minimum, so each patch is only a few lines long.  This code requires a new databases table but I didn’t want to patch the Moodle database scripts, so instead the block will handle the creation of the database table.

    You can download a version of Moodle 2 with course prerequisites from our git repositories at:

    https://github.com/enovation/moodle (you can clone git://github.com/enovation/moodle.git)

    (The branch with the course prerequisite code is called course_prerequisites)

    Next Previous
    No tags.

    Related Post

    • SCORM and Moodle

      Mark Melia | Blog, News | 3 December, 2010

      In this post I am going to have a look at what the SCORM specification from ADL (Advanced Distributed Learning) is all about and how it relates to Moodle. The post will firstly look atRead more

    • Whats new in Moodle 2.0

      Mark Melia | Blog, News | 5 December, 2010

      Moodle 2.0, the long awaited next generation of Moodle was released on the 24th of November to much aclaim. In this blog post I am going to have a quick look at some of theRead more

    • Creating simple filter in Moodle 2

      Tomek Muras | Blog, News | 8 December, 2010

      Filters in Moodle are pluggable elements that can convert an output text to some other text. This is currently used for the functionality like: replacing text based emoticons with images (emoticon filter) generating images forRead more

    • Welcome to the new Enovation blog

      Mark Melia | Blog, News | 17 December, 2010

      Hello and welcome to the new Enovation Solutions Technical blog. This is the place to go to find all the latest and greatest developments, news and musings from the technical team at Enovation Solutions. Enovation’sRead more

    • Moodle 2.0 File Storage

      Stephen McGuinness | Blog, News | 3 January, 2011

      One of the major re-engineering efforts undertaken for Moodle 2.0 was a complete redesign of the Moodle file storage system. This article compares the Moodle 1.9 and Moodle 2.0 file storage methods.

    • Generate random test data in Moodle 2

      Tomek Muras | Blog, News | 17 February, 2011

      Would you like to test Moodle 2 performance? Or maybe you are interested in checking Moodle’s scalability? Sure, it works fast with the few courses you have created – but how will it look whenRead more

    • Creating SCORM Content for Moodle

      Mark Melia | Blog, News | 15 March, 2011

      Okay, so I have discussed what SCORM is and how to add it to Moodle. Click here for a reminder. In this blog post I am going to look at some of the excellent proprietaryRead more

    • Game In Moodle

      Moronke Fajobi | Blog, News | 8 April, 2011

      The first time I came across the game module in Moodle I couldn’t but wonder what this could be about. It aroused my curiosity and interest that I spent the entire day digging into itsRead more

    • Avatar
      Tim Hunt June 27, 2011 at 10:15 pm

      It it really necessary to do this by changing core code?

      I feel it should be possible to do this using an enrolment plugin. Base it on enrol/self, but with some extra configuration options so it becomes “Students may enrol themselves in this course, but only after these other courses have been completed.”

      • Avatar
        smcguinness June 30, 2011 at 12:47 pm

        Hey Tim, that’s a great idea. I will look into that and post an update

    • Avatar
      Kristian Still July 1, 2011 at 12:56 pm

      I hope this feature appears on the road map.

      As a temp measure I created a resource that only displayed when the course was completed. It was the enrolment key for the subsequent course. Superificial I know, but from a none coder like myself, a temporary solution.

    • Avatar
      Itay ophir July 9, 2011 at 10:08 am

      great idea and I know for sure many higher Ed noodle sites will need this.
      I also like Tim’s idea to add this as a plugin.

      please post when you have an update.

      thanks,
      Itay

    NextPrevious

    Latest Insights

    • Now you have an LMS, What's Next?
      26 January, 2021
      Comments Off on Now you have an LMS: What Next?

      Now you have an LMS: What Next?

    • 6 January, 2021
      Comments Off on Open-source: Spend Less, Gain More.

      Open-source: Spend Less, Gain More.

    • 16 December, 2020
      Comments Off on Our 2020 Highlights-It’s been quite a year!

      Our 2020 Highlights-It’s been quite a year!

    • Enovation: Microsoft Education Partner
      26 November, 2020
      Comments Off on Microsoft Teams: Add Teams Meeting Scheduling to Your Solution

      Microsoft Teams: Add Teams Meeting Scheduling to Your Solution

    Archives

    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • January 2017
    • November 2016
    • October 2016
    • June 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • July 2015
    • June 2015
    • May 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
    • September 2014
    • June 2014
    • May 2014
    • January 2014
    • August 2013
    • April 2013
    • March 2013
    • February 2013
    • January 2013
    • September 2012
    • July 2012
    • May 2012
    • April 2012
    • February 2012
    • December 2011
    • November 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010

    Sign-up to get our insights direct to your inbox

      Enovation Square

      Enovation Solutions Ltd.,
      The Friary,
      Bow Street,
      Dublin, D07 X680,
      T: +353 (0) 1 602 4784

      Partners & Certifications

      images

      Moodle Partner Logo

      Latest Insights

      • Now you have an LMS, What's Next?

        Now you have an LMS: What Next?

        As Moodle and Totara Learn Partners we can tell you that acquiring

        26 January, 2021
      • Open-source: Spend Less, Gain More.

        We are Enovation, trusted Moodle & Totara Learn partners and all ’round

        6 January, 2021
      • Our 2020 Highlights-It’s been quite a year!

        2020 is a year that we will never forget. We have adapted

        16 December, 2020

      Latest Tweets

      Tweets by @EnovationIRE
      • Legal Information
      © 2021 Enovation Your eLearning Partner
      • WHAT WE DO
        • OUR SERVICES
          • Consultancy
          • eLearning Content
          • Build & Design
          • Training
          • Moodle Educator Certification Program (MEC)
          • Hosting
          • Support & Maintenance
        • OUR SOLUTIONS
          • Aura Talent
          • Moodle
          • Moodle Workplace
          • Totara’s Talent Experience Platform
            • Totara Learn
            • Totara Engage
            • Totara Perform
          • Mahara
          • Go1 Premium Content
      • WHO WE ARE
        • About Enovation
        • Careers
      • CASE STUDIES
      • OUR PARTNERS
        • Microsoft Teams
        • IntelliBoard
        • BigBlueButton
      • INSIGHTS
      • CONTACT US
      Enovation
      +353 (0)1 602 4784