Closed (fixed)
Project:
Quiz File Upload
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2011 at 04:48 UTC
Updated:
24 Jul 2013 at 10:31 UTC
Jump to comment: Most recent file
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.