Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using the latest version of the quiz module. While creating multiple choice questions, if I click on the 'Add more alternatives', another alternative field appears. But the new 'feedback if chosen' field for this new alternative does not contain attached CKEditor. Nor the alternative field. How do I attach CKEditor with them?
Comment | File | Size | Author |
---|---|---|---|
#2 | add more alternatives.png | 24.12 KB | rrizia |
Comments
Comment #1
borgewarvik CreditAttribution: borgewarvik commentedWe have tested this issue and could not reproduce running Drupal 6.19 and Quiz 6.x-4.0-rc9.
Comment #2
rrizia CreditAttribution: rrizia commentedI am using drupal 6.17.
I am attaching a screenshot of the issue.
Comment #3
rrizia CreditAttribution: rrizia commentedSorry my drupal version is also 6.19 and Quiz module version is Quiz 6.x-4.0-rc9
Comment #4
falcon CreditAttribution: falcon commentedAre you using the wysiwyg module or the CKEditor drupal module? (http://drupal.org/project/ckeditor)
Comment #5
rrizia CreditAttribution: rrizia commentedckeditor drupal module : CKEditor 6.x-1.1
Comment #6
rrizia CreditAttribution: rrizia commentedHi,
Any help on this. This is an urgent issue i need to fix for my site. Can anybody tell me wht to do for this.
Thanks in advance
Rizwana Rizia
Comment #7
rrizia CreditAttribution: rrizia commentedFYI
I have fixed this issue.
in multichoice.module on 210 i have added the following two lines
$javascript = drupal_add_js(NULL, NULL);
jQuery.extend(Drupal.settings, '. drupal_to_js(call_user_func_array('array_merge_recursive', $javascript['setting'])) .');$output_js = isset($javascript['setting']) ? '
' : '';
and the appended this to $output.
drupal_json(array('status' => TRUE, 'data' => $status . $output . $output_js));
Thanks
Rizwana Rizia.
Comment #8
borgewarvik CreditAttribution: borgewarvik commentedGreat!
Could you attach this as a patch? Makes it easier to test and commit.
Comment #9
falcon CreditAttribution: falcon commentedComment #10
tomvanacker CreditAttribution: tomvanacker commentedI have the same problem reported here. When I apply the proposed solution, this is not solved on my site. The Javascript code in $output_js is appended to the page as normal html, instead of being excecuted. Can anyone tell me how to solve this, or supply an updated multichoice.module?
This is how I corrected multichoice_add_alternative_ahah:
Greetings,
Tom
Comment #11
falcon CreditAttribution: falcon commentedComment #12
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.