I haven't started porting this module to d7 as yet. I will probably take it up when I get a request from my clients to do it.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 1213604-8.patch | 17 KB | univate |
| #6 | quiz-d7.patch | 16.96 KB | univate |
| #4 | quizfileupload.tar_.gz | 3.63 KB | amagdy |
Comments
Comment #1
sivaji_ganesh_jojodae commentedChanging category to task.
Comment #2
amagdy commentedI needed a drupal 7 Port for this module, I'm almost done with it
will post it in a couple of days or though
Comment #3
sivaji_ganesh_jojodae commented@amagdy, please share your code.
Comment #4
amagdy commentedTODO's:
- this code doesn't check for file extensions
- i don't validate your file uploads
- as original module, patch is required, question_types/quiz_question/quiz_question.module , function quiz_question_evaluate_question
if (empty($answer) && isset($_FILES['files']['type']['tries']) && !empty($_FILES['files']['type']['tries'])) {
$answer = $_FILES;
}
Additions:
- feedback/report form display file link as usual, but if it is an image, a thumbnail of this image is shown
Comment #5
amagdy commentedany plans to publish this ?! any issues delaying publish ?
Comment #6
univate commentedattaching a patch for the previous file upload.
Comment #7
sivaji_ganesh_jojodae commentedamagdy and univate, thanks for the patch. I will check it this weekend and could publish the d7 version if possible.
Comment #8
univate commentedRe-rolled patch, due to change in the definition of class QuizQuestion in quiz.module
Comment #9
samsterlin commentedComment #10
sivaji_ganesh_jojodae commentedThank you. Patch has been committed. Drupal 7 version is available for download from project page.