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.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#4 | qq_import-port7-1404820.patch | 7.34 KB | julianmancera |
Comments
Comment #1
julianmancera CreditAttribution: julianmancera commentedHi ,
Is there any updates for the drupal 7 port?
Thank you
Julian Mancera
Comment #2
julianmancera CreditAttribution: julianmancera commentedIt will be a nice to have to include the question taxonomy to import
Regards,
Julian Mancera
Comment #3
julianmancera CreditAttribution: julianmancera commentedHi,
I'm working on the port to drupal 7, currently working on the multichoice questions, I will need some feedback to provide a complete import functionality for multichoice as we are missing some attributes:
$node->choice_multi = 1;
$node->choice_random = 1;
$node->choice_boolean = 1;
Including in the taxonomy and custom cck attributes will be a nice to have, that's why I think we should rethink the csv structure so the module can handle them.
Any thoughts over this?
Julian Mancera
Comment #4
julianmancera CreditAttribution: julianmancera commentedHi,
Here is the patch for the multichoice incluiding the port, modifications to add custom fields and taxonomies, the example csv is in the example folder. Please do some testing and let me know you results.
Julian Mancera
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedHi,
i am new to drupal and i am working on bulk import of questions for drupal 7 version. i was planning to start up by using the pre-existing module of 6x version ( http://drupal.org/project/qq_import ) and modifying it to fit it drupal 7. mean while i would like to get inputs, if any.
Thank you.
Comment #6
Rosamunda CreditAttribution: Rosamunda commentedAny news on this?
Comment #7
michellezeedru CreditAttribution: michellezeedru commentedI tested the patch in #4 to try out in D7. I ended up just using the example.csv generated by the patch, because I'm not sure how the template works. But from the results of importing example.csv, the "Correct Choice" and "field_fieldname1" just ended up importing as additional choices, and the correct choice was not identified. Other than that, it seems to have imported the question and options okay.
As for a little direction about preparing the csv file, I'm not sure how to adapt the template file for my quiz import. My questions don't need taxonomy or any additional fields, so I imagine I can just delete those columns (right?). But I do need to know how to associate a question with an existing quiz. How might I use to accomplish this?
Thanks for working on this. I have about 80 quizzes to import with 100-150 questions each, so would be super excited to see this working!
Comment #8
zeezhao CreditAttribution: zeezhao commentedSame as in #7, able to import questions but "correct answer" is imported as an additional choice. So no way to indicate, unless format wrong. Please were you able to resolve? Thanks.
Comment #9
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedJust released the Drupal 7 version of qq_import (developed to use Feeds module).
@julianmancera, thanks for your patch. But Feeds integration is the way to go forward I guess.