+44 (0)2 0718 39207
info@enovationsolutions.co.uk
  • Client Support
  • FR
  • IE
EnovationEnovationEnovationEnovation
+44 (0)2 0718 39207
  • WHAT WE DO
    • OUR SERVICES
      • Consultancy
      • Content Creation
      • Build & Design
      • Training
      • Hosting
      • Support & Maintenance
    • OUR SOLUTIONS
      • Moodle
      • Moodle Workplace
      • The LMS Totara Learn
      • Aura Talent
  • WHO WE ARE
    • About Enovation
    • Careers
  • CASE STUDIES
    • Smyths Toys
    • Tata Chemicals Europe
    • Courts Service of Ireland
    • OpenJaw
    • New College Lanarkshire
  • OUR PARTNERS
    • 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

    • alt=LMS info graphic outlining the aspects of a learning management system

      LMS for Retail Success

      Emma Cronin | Blog, News | 7 August, 2019

      Retail is a notoriously unpredictable industry that is dictated by its seasonal changes, trends and high staff turnover. When retailers equip their staff members with the necessary training and knowledge and skills cost-effectively, without interrupting their busy schedules, a culture of empowerment and encouragement is created. By introducing a cost-effective and customisable LMS, retail businesses are given the power to stay ahead of the curve.

    • 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

    • 25 August, 2019
      Comments Off on 5 Signs Your LMS Isn’t Working

      5 Signs Your LMS Isn’t Working

    • 14 August, 2019
      Comments Off on Digital Content for Learner Engagement

      Digital Content for Learner Engagement

    • alt=LMS info graphic outlining the aspects of a learning management system
      7 August, 2019
      Comments Off on LMS for Retail Success

      LMS for Retail Success

    • alt=Concentrated female working on an eLearning course
      23 July, 2019
      Comments Off on Collaborative e-Learning

      Collaborative e-Learning

    Archives

    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • March 2019
    • January 2019
    • December 2018
    • October 2018
    • September 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • 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
    • 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.,
      T: +44 (0) 2071839207

      Partners & Certifications

      Totara Partner Logo

      Latest Insights

      • 5 Signs Your LMS Isn’t Working

        At Enovation, we want to add value to your company with an effective learning management solution. This article will outline some telltale signs your current software isn’t working for you and what you should be looking for from your future LMS to ensure success.

        25 August, 2019
      • Digital Content for Learner Engagement

        Whatever stage of the eLearning journey you and your business are on, we can help you to bring your project to a successful conclusion. Few companies can offer the breadth of expertise across project management, technology, instructional design, content authoring and learning and development that our team can. Choosing us as your partner will ensure that your eLearning project is a success.

        14 August, 2019
      • alt=LMS info graphic outlining the aspects of a learning management system

        LMS for Retail Success

        Retail is a notoriously unpredictable industry that is dictated by its seasonal changes, trends and high staff turnover. When retailers equip their staff members with the necessary training and knowledge and skills cost-effectively, without interrupting their busy schedules, a culture of empowerment and encouragement is created. By introducing a cost-effective and customisable LMS, retail businesses are given the power to stay ahead of the curve.

        7 August, 2019

      Latest Tweets

      Tweets by @EnovationIRE
      • Legal Information
      © 2021 Enovation Your eLearning Partner
      • WHAT WE DO
        • OUR SERVICES
          • Consultancy
          • Content Creation
          • Build & Design
          • Training
          • Hosting
          • Support & Maintenance
        • OUR SOLUTIONS
          • Moodle
          • Moodle Workplace
          • The LMS Totara Learn
          • Aura Talent
      • WHO WE ARE
        • About Enovation
        • Careers
      • CASE STUDIES
        • Smyths Toys
        • Tata Chemicals Europe
        • Courts Service of Ireland
        • OpenJaw
        • New College Lanarkshire
      • OUR PARTNERS
        • IntelliBoard
        • BigBlueButton
      • INSIGHTS
      • CONTACT US
      Enovation
      +44 (0)2 0718 39207