Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7995

Pluggable review pages for quiz

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.7, 1.7.1
    • None
    • Quiz
    • None

    Description

      It would be useful for the quiz module review page to be provided by a plugin, so that several different types of review page can be developed and the appropriate one selected when creating a quiz.

      I have attached a patch implementing this feature, against CVSHEAD as of 2006-12-10 16:01:01.

      We use this in a Moodle installation for a particular client where we use the quiz module for a tool more like a survey, where the review page shows graphs, suggestions and feedback based on the user's responses rather than results as such. This plugin system allows us to keep a separate plugin for that particular quiz while still using the standard review page for other quizzes.

      This system could potentially be useful for other Moodle installations where a different type of review page is required for certain quizzes.

      New review page plugins can easily be created by placing a PHP file in a certain directory (mod/quiz/reviews/name/review.php) containing a class called review_name (where 'name' is the name of the new review type). This class would typically extend the standard review class review_standard, and override some or all of the methods to change certain parts of the review page.

      Feedback is welcome.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            qwandor Andrew Walbran
            Nobody Nobody
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: