AJAX Quiz

Component ID

1780282

Component name

AJAX Quiz

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Adds AJAX functionality to Quiz module.

AJAX feature reduces page load time and enables users to scan through the questions in a flash. This module is compatible with the latest version of Quiz 6.x-4.4.

Installation

1. Completely unintall existing AJAX Quiz module

2. Remove AJAX Quiz folder with files inside from Quiz Module (location: quiz/includes/ajax_quiz)

3. Before installing new AJAX Quiz module modify a line no.3670 in quiz.module file. (location: quiz)

In quiz.module file line no (3670).here exist function _quiz_is_taking_context();

function _quiz_is_taking_context() {

return arg(2) == 'take';

}

Change this to :

  function _quiz_is_taking_context() {

              return arg(2) == 'take' || arg(2)=='ajax-quiz';//change this line 

            }  

4. Upload new AJAX Quiz module (location: /sites/all/modules/)

5. Flush cache

6. Run update.php and it is done.

Sponsored by www.lifehugger.com