Conditional activities FAQ
Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Conditional activities FAQ.
- 1 What ARE Conditional activities?
- 2 Where are the settings to use Conditional activities?
- 3 Can I make access to a course conditional upon completing another course?
- 4 Can I set conditional activities for a whole section, not just individual activities?
- 5 We had Activity Locking in 1.9. Will it cause problems when upgrading to Moodle 2?
- 6 See also
What ARE Conditional activities?
Conditional activities is a feature that enables a teacher to release resources and activities for their students based on certain criteria such as date, grade received or participation.
Where are the settings to use Conditional activities?
The Moodle admin needs to enable it site wide in Settings>Site administration>Advanced features and a teacher will then see "restrict access" options in the setup screen of each activity.
Can I make access to a course conditional upon completing another course?
Not currently, no. It is not possible to restrict access to course B until a student has completed course A. There are workarounds such as setting a final page at the end of course A which is only revealed once the student has completed course A. In this page you can include the enrolment key for course B. However - this relies on trusting students not to pass the key onto others.
Can I set conditional activities for a whole section, not just individual activities?
This is not possible with Moodle 2.2 but is available in the next version of Moodle, Moodle 2.3.
We had Activity Locking in 1.9. Will it cause problems when upgrading to Moodle 2?
If you are using the 1.9 AL version that uses the added course format called Activity Locking, then there should not be any upgrading issues.
You could remove the code, which means deleting things from your server and data base.
If you want remove things, do this prior to upgrading to 2.0. Of course, you will be making a backup of your site, database, and even your individual courses before upgrading to 2.0.
- Make a note of the conditions you have set on your activities since they will be deleted.
- Delete the activity locking block through moodle admin--then delete the block folder.
- Delete the AL course format folder.
- This is optional--leaving these should not break things, but it would be a good idea. Delete (e.g. via phpmyadmin) the four added columns to the course_modules table:
Now you can change your course formats back to topics, then after upgrade, reset your conditions with the new conditional activities code.
- Using Moodle Conditional activities forum
- Using Moodle how to clear checks on completion page as admin user forum discussion