Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module is an addon to the Quiz module which adds the concept of dependency to quizzes. The module adds an entity reference (node) field and a dependency type field to a quiz node so that the availability of one quiz can depend on the outcome (completed, passed, failed) of a another quiz. Thus chains can be set up so that a user/student must complete one quiz before moving on to the next.

This module relies on a patch to the quiz.module which added a hook to quiz_availability(). This patch is available in this moduled directory, but will need to be copied to the quiz module directory and then applied.

This module currently only supports one dependency - the future plan is to create the "dependent node" and "dependency type" fields as a field collection with unlimited entries so that multiple dependencies may be set on a single quiz.

AttachmentSize
quiz_dependency.png31.21 KB
quiz_dependency_2.png87.83 KB

Project information