Jquery timer will not work when i start take quiz, As i Worked with version 4.x it is working fine, but i am trying to use 5.x i come across this bug.

can anyone help me in this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shankar javali’s picture

Title: jQuery timer will not work » jQuery timer will not work in Quiz module version 7.x-5.x
decibel.places’s picture

This is a little off-topic, but I created a javascript quiz engine about 10 years ago complete with a timer. It's written in JS, not jquery. Maybe it will work for you, or you can adapt it. Or you could look at the timer function.

It was hosted at GeoCities, now it can be found at ReoCities

PS you can ignore Permission is granted to use a quiz generated by this page for evaluation only it's free to use - or use the PayPal button to donate

I'm responding to http://twitter.com/KathyLeeDrupal/status/490080631607422977

djdevin’s picture

Hi @decibel.places,

We actually already have a timer, it just has not yet been ported to this alpha 5.x version yet.

Also I have no idea what that twitter feed is for! Is it just reposting issues? Haha

shankar javali’s picture

Hi djdevin,

When can jQuery timer issues can fix for the new version of the Quiz module ex:7.x-5.x.

Anonymous’s picture

I would also like to use new quiz version and jQuery timer in it :)

RonD’s picture

Hi DJ, any time line on having jq timer ported.

We needed some of the version 5 stuff and really like it. However, really need the timer to control quiz time allowed. We're currently running 7.x-5.0-alpha4.

vmtrinka’s picture

Just trying to bump the issue! Can someone please help fix the issue with the jquery timer countdown for the Quiz 5 module in Drupal 7. It is a very key feature that worked flawlessly with Quiz 4. Thank you.

djdevin’s picture

Yes this is on the roadmap. I just haven't had the time. I promise it will be in 5

djdevin’s picture

Status: Active » Needs review
FileSize
6.97 KB

This should restore the behavior from 4.x.

Status: Needs review » Needs work

The last submitted patch, 9: jquery_timer_will_not-2305559-9.patch, failed testing.

djdevin’s picture

Issue tags: +Needs tests
djdevin’s picture

Status: Needs work » Needs review
FileSize
11.88 KB

Now with tests.

Status: Needs review » Needs work

The last submitted patch, 12: jquery_timer_will_not-2305559-12.patch, failed testing.

djdevin’s picture

Status: Needs work » Needs review
FileSize
1.47 KB

Status: Needs review » Needs work

The last submitted patch, 14: jquery_timer_will_not-2305559-14.patch, failed testing.

djdevin’s picture

Status: Needs work » Needs review
FileSize
12.64 KB

  • djdevin committed 1648e89 on 7.x-5.x
    Issue #2305559 by djdevin: Reimplemented jquery timer for 7.x-5.x....
djdevin’s picture

Status: Needs review » Fixed

Committed to 7.x-5.x

Status: Fixed » Closed (fixed)

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

vmtrinka’s picture

Thank you so much djdevin !

I am in love with the Drupal community.

Instead of using the patch, I updated the quiz module from 7x-5.0 Alpha 4 to Alpha-7 , which was available from Dec 2, 2014, thanks to djdevin and it did the job. Now my jquery timer works like a charm. Thanks!