Development:Adding activity locks
Overview of Activity Locking
Activity Locking is a type of conditional activity in Moodle. It is not part of the standard Moodle and all flavors requires sepecial installation. Various flavors can be found at the Activity Locking MoodleDoc page.
Please be patient, there are several versions of Activity Locking being developed that have different goals and approaches. These examples happen to come from an Activity Locking 2.1 flavored branch developed for Moodle version 1.6, sometimes called ActivityLockingWithHide-1.6 Other versions may also appear on this page. Finally (there really is never any finally), I am most familar with Lesson Activities, so my initial screen shots will concern this kind of activity. I am trying to keep the new Moodle teacher in mind as I write. --Chris collman 2 05:09, 27 June 2006 (WST)
Other contributors may, and are encouraged to add to this presentation.
What does it do?
A picture is worth 1000 words: The student has to take another lesson before entering this one. Activity has kept the student out.
Lesson setting - new view
This will show a few screen shots of a course(s) that uses lessons.
Initial Lesson Setting tabs
In the edit lesson setting the teacher will see The general tab is the standard lesson setting found in 1.6. Those have not changed.
Activity locks tab
The Activity Lock tab looks like this. We are in the 2nd lesson of a 3 lesson course that has a discussion activity. The teacher is determining what are the requirements for entering the 2nd lesson.
Setting tab
The setting tab has: These are visibility settings. Notice help buttons.
Student views
The student view of two lessons, where the future lessons are not hidden. Shows that the second lesson is locked. A green check in the box would indicate it is available.
Again, this page is specific to one flavor of Activity locking. New users should clearly understand that different flavors will look different and at this point, none is "better" than another. This is my (Chris's) first download of this conditional activity in 1.6, so I am still setting it up in some of my test courses. My site administrator has not allowed me to play with the flavor on our production Moodle. :) It looks very different than the above but it works fine.
See Also
- Activity Locking MoodleDoc page has forum links, some installation hints and more information about the different flavors of Activity locking.
There is a very specialized-limited type of activity locking under a lesson (activity) setting called dependency in 1.6. See: *https://docs.moodle.org/en/Adding/editing_a_lesson#Dependent_on .