I guess there is a bug in quiz-views integration
1. I am not able to apply filters, getting error like "There are no filters available to add"
2. Not able to add all the fields to page view getting error like "Error: handler for quiz_node_results > result_id doesn't exist! "
3. There is not option (AFAIK) to display username and quiz title, it will be good to display username and quiz node name instead of showing user id and quiz node id.(feature request)
I am on quiz-6.x-2.1, php 5.2, drupal 6.9. I have attached an image to this issue which can convey more information.
Thanks
sivaji
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot.png | 105.42 KB | sivaji_ganesh_jojodae |
Comments
Comment #1
mbutcher commentedThe views component needs some attention. My Views 2 integration was hasty at best.
Comment #2
B747 commentedHi mbutcher,
Have you had time to fix #2 yet? The rest of quiz views quite well, but this is quite a big setback....
Cheers.
Comment #3
mbutcher commentedsdboyer has been working on fixing up the views integration. He's begun patching already, but I think it will be later this week before all of the views patches land.
Comment #4
schefz commented#3There is not option (AFAIK) to display username and quiz title, it will be good to display username and quiz node name instead of showing user id and quiz node id.(feature request)
seems like a very important flaw in the quiz system. Displaying the user's name is much more meaningful and useful to end users the the UserID. I cant wait til this gets updated!!
Comment #5
mbutcher commentedCan you not join on the quiz node nid and the node table to get the title? Likewise for username.
A huge views patch is about to land. sdboyer has added deep views integration with Quiz. That should take care of 1 and 2. For 3... you still have to join against the node and users tables.
Comment #6
schefz commentedI conceptually get how to link the username table and the uid table, but im a noob to the development side of things and dont think i know how to get that displayed in the view... i guess its time for some research!
Comment #7
bls20 commentedHi All,
I have the same problem with:
Error: handler for quiz_node_results > result_id doesn't exist!
Has anybody figured out how to fix this?
Cheers.
Comment #8
mbutcher commentedViews integration in Quiz 3 has been reworked. Is anyone noticing the problem there?
Comment #9
jinside commentedI am testing the views integration feature for Quiz 3 currently. Will let you all know my results as soon as I dive into it more. I see "The term ID used to select questions based on taxonomy." as a views field but not sure how to set it up to test it.
Comment #10
mbutcher commentedTerm ID:
On a quiz, you can assign a taxonomy term that will be used as a pool for random question selection. If you configure quiz this way, the term ID will be set in the table, and you will be able to use the term ID (and relate it to a taxonomy term) in the view.
Other quick update: sdboyer has done a TON of work getting view support working in Quiz. His changes have required some database table-level changing, so these new views will not be backported to Quiz 2.x. However, the jump from 2.x to 3.x will be relatively minor. You'll have to run update.php, but not many deep structural changes have been made.
Matt
Comment #11
mbutcher commented