Posted by technohike on May 11, 2009 at 6:27pm
| Project: | Quiz |
| Version: | 6.x-3.0-beta1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | ui, User interface |
Issue Summary
Hi,
After creating quiz, i m not able to add questions under that. Where is the link to add questions.
Only box appearing saying that Find and add a question.
How to add fresh question under created question.
Thanks,
Comments
#1
The "Find a Question" field is for finding existing questions. Begin typing a question name or text. A list of matching questions should be displayed.
If you want to create a new question, click on one of the question type links in the section "Create Additional Questions" at the top. You will need to have one or more of the following modules enabled:
* Multichoice
* quiz_question (provides true/false)
* long_answer
* quiz_directions
#2
I have attached an icon before each question type to make it clear. Will be available in quiz alpha release.
#3
It is a trivial issue changing the status to fixed.
#4
#5
#6
Oops.. changing tags
#7
last try.
#8
i already enabled Multichoice module but it appears only under "Create content" not appear on "Manage questions" tab.
Only two fieldset are appear under "Manage Questions" :
1) Questions always on this quiz (0)
2) Pool of questions randomly selected for this quiz
#9
#10
Hmm... it should look like the attached image.
Is it possible for you to change the theme and see if the correct section shows up? It might be a theme-related issue.
#11
Still fail. I tried with garland and some other theme also.
#12
Can you upload a copy of the generated HTML from comment 8?
Also, a listing of the files in quiz/ might help... just in case there are duplicate files there (from the pre-alpha1 reorganization).
#13
<div id="postareainner">
<div id="tabs-wrapper" class="clear-block"> <div id="h2title"><h2 class="with-tabs"> The Lover Style Profile Test written by donathos</h2></div>
<ul class="tabs primary">
<li><a href="/drupalgame/node/40">View</a></li>
<li><a href="/drupalgame/node/40/image_gallery">Gallery</a></li>
<li class="active"><a href="/drupalgame/node/40/questions" class="active">Manage questions</a></li>
<li><a href="/drupalgame/node/40/admin">Quiz admin</a></li>
<li><a href="/drupalgame/node/40/edit">Edit</a></li>
<li><a href="/drupalgame/node/40/images">Images</a></li>
</ul>
</div> <form action="/drupalgame/node/40/questions" accept-charset="UTF-8" method="post" id="quiz-questions-form">
<div><div id="questions-always-target"></div><fieldset class="collapsible"><legend class="collapse-processed"><a href="#">Questions always on this quiz (0)</a></legend><div class="fieldset-wrapper"><table id="questions-order-1" class="sticky-enabled tabledrag-processed">
<tbody><tr><th>Question</th><th>Type</th><th>Actions</th><th>Weight</th></tr>
</tbody></table><fieldset><legend><strong>Find and add a question</strong></legend><div class="description">Begin typing a question title or keyword. Suggestions will be presented based on your typing. <strong>You must choose one of the suggested questions.</strong> To add a new question, use the "Create additional questions" section above.</div><div class="form-item" id="edit-always-autocomplete-wrapper">
<input autocomplete="OFF" maxlength="256" name="always_autocomplete" id="edit-always-autocomplete" size="60" value="" class="form-text form-autocomplete" type="text">
</div>
<input class="autocomplete autocomplete-processed" id="edit-always-autocomplete-autocomplete" value="http://localhost/drupalgame/admin/quiz/listquestions" disabled="disabled" type="hidden"><input name="op" id="edit-add-to-list" value="Add to quiz" class="form-submit ahah-processed" type="submit">
</fieldset><input name="remove_from_quiz" id="edit-remove-from-quiz" value="" type="hidden"></div>
</fieldset>
<fieldset class="collapsible collapsed"><legend class="collapse-processed"><a href="#">Pool of questions randomly selected for this quiz</a></legend><div style="display: none;" class="fieldset-wrapper"><table id="questions-order-2" class="sticky-enabled tabledrag-processed">
<tbody><tr><th>Question</th><th>Type</th><th>Actions</th><th>Weight</th></tr>
</tbody></table><fieldset><legend><strong>Find and add a question</strong></legend><div class="description">Begin typing a question title or keyword. Suggestions will be presented based on your typing. <strong>You must choose one of the suggested questions.</strong> To add a new question, use the "Create additional questions" section above.</div><div class="form-item" id="edit-random-autocomplete-wrapper">
<input autocomplete="OFF" maxlength="256" name="random_autocomplete" id="edit-random-autocomplete" size="60" value="" class="form-text form-autocomplete" type="text">
</div>
<input class="autocomplete autocomplete-processed" id="edit-random-autocomplete-autocomplete" value="http://localhost/drupalgame/admin/quiz/listquestions" disabled="disabled" type="hidden"><input name="op" id="edit-add-to-random" value="Add to quiz" class="form-submit ahah-processed" type="submit">
</fieldset><div class="form-item" id="edit-number-of-random-questions-wrapper">
<label for="edit-number-of-random-questions">Number of questions to randomize: </label>
<input maxlength="128" name="number_of_random_questions" id="edit-number-of-random-questions" size="3" value="" class="form-text" type="text">
<div class="description">The number of randomly selected questions that should be assigned to this quiz.</div>
</div></div>
</fieldset>
<div class="form-item" id="edit-new-revision-wrapper">
<label class="option" for="edit-new-revision"><input name="new_revision" id="edit-new-revision" value="1" class="form-checkbox" type="checkbox"> New revision</label>
<div class="description">Allow question status changes to create a new revision of the quiz?</div>
</div>
<input name="timestamp" id="edit-timestamp" value="1242235676" type="hidden">
<input name="op" id="edit-submit" value="Submit questions" class="form-submit" type="submit">
<input name="form_build_id" id="form-0d2415ac5ee7287389d26a2d01834d53" value="form-0d2415ac5ee7287389d26a2d01834d53" type="hidden">
<input name="form_token" id="edit-quiz-questions-form-form-token" value="a7561c3541e572b32ef6b0adafe5c2fd" type="hidden">
<input name="form_id" id="edit-quiz-questions-form" value="quiz_questions_form" type="hidden">
</div></form>
</div>
#14
Alright... well... we can rule out CSS now. I guess that's progress....
Have you overridden any of the themes for Quiz?
Also, what quiz modules do you have enabled? (multichoice? quiz_question?)
#15
No, none function, i override.
I enabled only multichoice module.
#16
If you add other question type modules do you see them?
Can you create multichoice questions by going to Create content > Multichoice?
#17
I enabled Long answer module in that i m able to see option but not using in multi-choice module. But only appears under "Create Content" .
And when click on "Long answer" link got error
Fatal error: Class 'TrueFalseQuestion' not found in C:\wamp\www\drupalgame\sites\all\modules\quiz\question_types\quiz_question\quiz_question.module on line 440
#18
That last error usually occurs if the autoload module is not installed and enabled.
Still looking into the rest.
#19
Is anyone else experiencing this? We can neither reproduce this error nor find anyplace in the code that could be causing such strange symptoms.
#20
Still have a problem.
Plz give me a solution, its very urgent. Just only problem with multi-choice question.
I installed fresh drupal-6.12 with quiz.6.x-beta-1
Attached screenshot.
#21
Thanks for hard-work.
fixed in 6.x.3.0-beta1.
#22
Automatically closed -- issue fixed for 2 weeks with no activity.