Quiz Dependency

Categories

Component ID

1620070

Component name

Quiz Dependency

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

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.