Closed (outdated)
Project:
Quiz
Version:
6.x-5.x-dev
Component:
Code - Quiz core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2009 at 00:29 UTC
Updated:
15 Jul 2016 at 20:57 UTC
Jump to comment: Most recent
Comments
Comment #1
falcon commentedI agree! This would be great!
Unfortunately we do not have any resources to implement this at the moment so I have to mark this issue as postponed until someone comes along ready to contribute the time and effort to realize this feature.
Comment #2
gengel commentedIf you *did* have the resources to pursue this, what steps (code-wise) would you take? I need to implement something like this, more or less, and I'm wondering if it makes more sense to just turn use multichoice as the basis of a custom one-off thing, or to try and come up with a more generalized approach. (i.e., patch)
Comment #3
falcon commentedIt depends on how much time you have. If you only need multichoice I would probably try to do a "custom one-off thing".
If I needed all question types to function independently I would perhaps do a more general approach. It will be a pretty big patch though.
The easiest way might be to add a button or tab to each question node and when the button is pushed a quiz with only that question is created automatically if one doesn't already exist, and you start taking that quiz. This is ugly.
A better way is to change the take quiz system so that it treats a single question as a quiz consisting of one single question when a users wants to answer a question.
The take quiz system, and especially the function quiz_take_quiz is a mess. I haven't touched it, and barely looked at it. I have no idea how much time it will take to rewrite the take quiz system because I haven't touched it myself. We are planning to do a rewrite when we make the drupal 7 version of quiz.
So if you have the time and want to contribute to the quiz module then make a patch. If you only need multichoice, a "custom one-off thing" might be the best choice.
Comment #4
gengel commentedThanks for the feedback. It sounds like for the short term, I'll port multichoice into a custom mod and work off of that. But I'll try to keep an eye out for ways to integrate these changes back in down the road.
Best of luck with the D7 version!
Comment #5
falcon commentedComment #6
turadg commentedsubscribe
Comment #7
gengel commentedUpdate: I found a way to make this work by implementing a (somewhat hackish) extra module that modifies multi-choice questions to work both as independent questions and in quizzes, if anyone's interested. (Same process could be used on other question types as well.) Certainly not robust enough to stand as its own project, but if anyone needs this, I can send what I have.
Comment #8
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.