Hi all,

I have just completed a quiz of about 28 questions.

I think the ability to skip a question and come back to it is great. But when you get to the end of the quiz, its sometimes difficult to remember which questions you've already answered and which you've left out. Furthermore, to get back to one of the early questions means clicking the back button 20-something times each time allowing the page to render. The longer the test, the longer it takes and the more frustrating it will be for people taking the test.

I think it would be really great if there was a little block somewhere on the screen that showed you where in the test you were and how many questions you'd answered. Ideally, this would be a Drupal block that you could enable and put in some region. And furthermore, if you could use that block to navigate back to questions that you had skipped that would make it really very useful!

See the attachment for my idea.

In the picture, all the questions you have answered are shaded green. The questions you still need to answer or have skipped are in white and the current question is highlighted in orange. You would simply click on the number 2 to take you back to question 2.

I think this would make the quiz much more user friendly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ratinakage’s picture

FileSize
73.04 KB

Here's the attachment

deoxyna’s picture

This is a feature I've been looking for and hope to be implemented in the future releases of the quiz module.

falcon’s picture

Just committed a change that will allow users to jump freely between questions

adrianmak’s picture

subscribe

diseño web palma de Mallorca’s picture

subscribe

diseño web palma de Mallorca’s picture

any News about this!!

ratinakage’s picture

@falcon - what change did you submit? How does it work...?

Thanks!!

falcon’s picture

If you edit a quiz you'll find a new setting "Allow jumping" under "Taking options". With jumping allowed users can jump freely between all questions in the quiz by using a dropdown on top of the page while answering the quiz.

diseño web palma de Mallorca’s picture

Ok, I will try, thank'k !!

But maybe instead of a select box would be better the #1 solution, that you got that block in the sidebar or on top of the page , telling the user the questions he has skipped changing the color of the box.

like this image. Don't know if that would be possible in this module.
http://drupal.org/files/issues/quiz_with_progress_block_0.png

Thank's againg and sorry for my english.

Derek

falcon’s picture

Absolutely, I just wanted to add a jump feature quickly. A block will be better!

diseño web palma de Mallorca’s picture

I you planning to add this feature, not like a dropdown but like a grid? and if possible to change the color of the boxes when a question in answered?

Not a programer.

----------------------------------
ratinakage
deoxyna
adrianmak

If anyone needs this featured we could make a budget !!! so we can all take advantge of this !!

meet.h.thakkar’s picture

any update with this ??t ... or ayy patches available ?

meet.h.thakkar’s picture

I am also ready to work it out ...

diseño web palma de Mallorca’s picture

ok, any more people willing to pay? :)

ratinakage’s picture

I spoke to my boss and we have no budget for this. Sorry!

meet.h.thakkar’s picture

FileSize
2.02 KB

Hey people Good News !!I have made it ( but it works only for quiz which have "Categorized random questions" )

works with ( quiz 6.x-4.0 version of this module , haven't tested with 4.1 . its just released 2 days back ;) good luck for 4.1 users :) )

this is how i did it .....

I have used css injector module to inject a css ( because i found that we can't add css inside body of html )

Include this css in node/*/take pages of your site using css injector module.


 .quizprogress
{
background-color:#c7d0d8;
}

.answered
{
background-color:#3d70e6;
}


.skipped
{
background-color:#ff6600;
}

 

And attachment is the block definition ( using php filter )
please let me know if you find any problem !!! or let me know if it works on your site or not ... !!

meet.h.thakkar’s picture

FileSize
47.9 KB

see this is how my block looks ( grey colored questions are unattended ( unseen ) questions , blue are answered , and orange are skipped questions )

diseño web palma de Mallorca’s picture

grat stuff thanks meet.h.thakkar for porting this !!

i'm going to give a try on it and let you know !!

xxm’s picture

I get this error message with 4.0

warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/php-fcgi-scripts/phplib/drupal-6_aktuell/includes/common.inc(1696) : eval()'d code on line 55.

Any idea what to do?

meet.h.thakkar’s picture

cant say anything , i also just made it work for me somehow .. , but seems the query is not returning valid mysql resultset . check the query which produces that result set....

xxm’s picture

It was a stupid reason: msqli instead of msql was enabled in settings.php

lejon’s picture

Is there a way to show the TITLE of the Question in the Dropdown box instead (or as well as) the number.

This would help navigation greatly.

To make it even more brilliant, would there be a way of distinguishing between Quiz Directions and Quiz Questions in this navigation?

I use a lot of Directions as I use Quiz as an e-learning / training tool. It always looks strange when I have "Question 1 of 38" when actually there are only 6 questions and 32 "learning" pages.

lejon’s picture

I have moved my question about navigation to a separate issue http://drupal.org/node/1132936 to prevent this thread going off-topic.

deoxyna’s picture

hi meet.h.thakkar your script works great. One thing though, I couldn't get the color for skipped/answered questions to work. Any advice or settings I should check on CSS Injector module. Thanks and more power.

meet.h.thakkar’s picture

sorry for late reply my exams were going ;) .. coloring issue will be related only to css ..just check if you are getting correct classes applied to each question No.'s div scrip is generating and secondly check if css is correctly injected , check it via firbug etc.

nirvanajyothi’s picture

Component: Code - Quiz module » Code - Import/Export

@meet.h.thakkar: Thanks for the code. The block could be displayed with the code, but i get an error on the quiz take pages, node/*/take.

warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in E:\xampplite\htdocs\ele\includes\common.inc(1696) : eval()'d code on line 55.

I am using Quiz 4.1 version.

EDIT: Could be fixed using http://drupal.org/node/842450#comment-4302080

nirvanajyothi’s picture

Version: 6.x-4.0-rc4 » 6.x-4.1
Component: Code - Import/Export » Code - Quiz core
FileSize
16.38 KB
20.71 KB

Hi,

Adding more details on the above issue and how Meet.H.Thakkar's code is working with 6.x-4.1 version of Quiz on Drupal 6.20.

It works fine on Quizzes with 'Categorized random questions'. (image attached)

But as of now, on Quizzes with 'Random order' questions the block does not function and shows the message 'Quiz not running' (image attached) I really wish it can be made to work on Quizzes with 'Random order' questions as well. Any help would be appreciated.

Thank you.

hooface’s picture

Version: 6.x-4.1 » 6.x-4.2

Hi
I have made a module from meet.h.thakkar's code.
It works great with 6.x-4.2 version of Quiz on Drupal 6.22.

hooface’s picture

Hi
I have made a module from meet.h.thakkar's code.
It is working well with 6.x-4.2 version of Quiz on Drupal 6.22.

nirvanajyothi’s picture

@hooface: That sounds great.
Does it require the fix mentioned above @ http://drupal.org/node/842450#comment-4302080 ?

nirvanajyothi’s picture

A module finally comes up for tracking Quiz Progress! Thanks to @sivaji.

http://drupal.org/project/quiz_progress

ratinakage’s picture

Awesome!!

Thanks nirvanajyothi!!

uploader’s picture

Version: 6.x-4.2 » 7.x-4.x-dev

Is this quiz progess working in Drupal7??
I found the link for quiz progress for drupal7 http://drupal.org/node/1283820/release?api_version[]=103
But i am unable to get the progress when i start the quiz could someone help me out with this plzzz
Thanks in advance!! :)

himalyamakkad08@gmail.com’s picture

I too having the same issues regarding quiz progress module for drupal 7. I am using drupal 7.20 core. Is there anything like quiz progress for drupal 7??

aadityawalawalkar’s picture

Please find the patch for the drupal 7 quiz_progress module (quiz_progress 7.x-1.0-beta1).

aadityawalawalkar’s picture

Status: Active » Needs review
aadityawalawalkar’s picture

Please find the patch for the drupal 7 quiz_progress module (quiz_progress 7.x-1.0-beta1) corrected as per drupal conventions.

Farrisimin’s picture

Any upcoming releases to have this feature..

Sivaji_Ganesh_Jojodae’s picture

Status: Needs review » Fixed

I didn't follow this issue :( However quiz progress block for d7 is available as separate contrib module (as it was earlier). Thanks to aadityawalawalkar for the patch. As a gesture of thanking I have given him commit access to quiz_progress repository.

Related issue #1406212: Quiz progress block not showing up in D7 version, after installation.

Sivaji_Ganesh_Jojodae’s picture

FYI: Added patch to quiz.module to make quiz progress work independent of allow jumping :)

Commit diff http://hub.knackforge.com/projects/quiz-support/repository/revisions/9a3...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 9a31414 on 7.x-4.x, 7.x-5.x by sivaji:
    Issue #842450 added patch to make quiz progress work independent of...

  • Commit 9a31414 on 7.x-4.x, 7.x-5.x, quiz-pages by sivaji:
    Issue #842450 added patch to make quiz progress work independent of...

  • Commit 9a31414 on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by sivaji:
    Issue #842450 added patch to make quiz progress work independent of...

  • Commit 9a31414 on 7.x-4.x, 7.x-5.x, 2269219 by sivaji:
    Issue #842450 added patch to make quiz progress work independent of...
donapis’s picture

Issue summary: View changes

Any plan to make progress block working on Quiz5?