Multiple question per page

Events happening in the community are now at Drupal community events on www.drupal.org.
finaukaufusi's picture

I've now done modified the quiz 7.x-4.0-alpha9 core to achieve the multiple question per page. It was working very well.

In my implementation, I add a new table call quiz_page and attached to the quiz_node_relationship table with a foreign key "page_id"

I also change the behaviour of the quiz to navigate by using the page_id instead of question node id. When using the page_id for navigation it will allow us to read all the questions is belong to a page.

Anyway, hopefully this idea will help to implement the multiple question per page to the next version of quiz module.

Comments

a big error is appearing in quiz module

Royal_Jat's picture

Hi finaukaufusi,

i need to develop quiz page with multiple question, as you are working on this task but i faces a problem on first step.
i installed this module and when i click on "Take by Ajax", than a error coming on screen

"Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\science\sites\all\modules\quiz\includes\ajax_quiz\ajax_quiz.admin.inc on line 55"

please provide any solution or advice for this issue.

Regards
Royal jat

If it's working so well, why

pere orga's picture

If it's working so well, why don't you share the source code of your solution?

please share your solution code

Royal_Jat's picture

Hi there,

if it is working well than you should share your code and table structure.
so we can appreciate you.

Quiz

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week