Moodle Plugins directory: QuizExport | Moodle.org
QuizExport
Quiz reports ::: quiz_export
Maintained by
C Blue,
Olivier Piton,
Renaud Lemaire
This is a quiz report plugin to export quiz attempts as pdf
Latest release:
422 sites
216 downloads
23 fans
Current versions available: 4
This is a quiz report plugin for to export quiz attempts as pdf. Single quiz attempt exports are possible as well as bulk exports as zip files.
Practical information:
- Open a quiz page. Then click on the cog and choose "Quiz exporting" (or "Export de quiz" in French)
- On this page, you can choose the export options, then select one (or more) attempts to export (it will be downloaded as zip if more than one attempt has been selected)
Useful links
Contributors
C Blue (Lead maintainer)
Olivier Piton
Renaud Lemaire
Please login to view contributors details and/or to contact them
When exporting a Maths Quiz including LateX formulas the formulas are replaced by a red x image placeholder
So it doesn't have to do with your installation method, would you care to try and give us more details about how you're getting this unexpected behavior ?
Amaury.
Don't forget to make a "composer install" in the plugins folder.
Julien
Moodle 4.3.4+ (Build: 20240530) | main moodle-quiz_export branch.
When attempting to export Quiz attempt (single or multiple), I am presented with a confirmation window asking if I want to export selected attempts.
When I click on Yes, I see this error message:
Attempt to access the step user before it was initialised. Did you forget to call question_usage_by_activity::preload_all_step_users() or similar?
line 204 of /question/engine/questionattemptstep.php: call to debugging()
line 215 of /question/engine/questionattemptstep.php: call to question_attempt_step->get_user()
line 524 of /question/engine/renderer.php: call to question_attempt_step->get_user_fullname()
line 495 of /question/engine/renderer.php: call to core_question_renderer->action_author()
line 120 of /question/engine/renderer.php: call to core_question_renderer->response_history()
line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
line 912 of /question/engine/questionattempt.php: call to question_behaviour->render()
line 483 of /question/engine/questionusage.php: call to question_attempt->render()
line 1345 of /mod/quiz/classes/quiz_attempt.php: call to question_usage_by_activity->render_question()
line 1307 of /mod/quiz/classes/quiz_attempt.php: call to mod_quiz\quiz_attempt->render_question_helper()
line 199 of /mod/quiz/classes/output/renderer.php: call to mod_quiz\quiz_attempt->render_question()
line 67 of /mod/quiz/classes/output/renderer.php: call to mod_quiz\output\renderer->questions()
line 314 of /mod/quiz/report/export/export.php: call to mod_quiz\output\renderer->review_page()
line 270 of /mod/quiz/report/export/export.php: call to quiz_export_engine->render()
line 250 of /mod/quiz/report/export/export.php: call to quiz_export_engine->get_review_html()
line 107 of /mod/quiz/report/export/export.php: call to quiz_export_engine->all_questions()
line 198 of /mod/quiz/report/export/report.php: call to quiz_export_engine->a2pdf()
line 164 of /mod/quiz/report/export/report.php: call to quiz_export_report->export_attempts()
line 86 of /mod/quiz/report/export/report.php: call to quiz_export_report->process_actions()
line 83 of /mod/quiz/report.php: call to quiz_export_report->display()
When attempting to export multiple Quiz attempts, I am receive error message above.
However, I was wondering if it's possible to keep the markers next to each answer (I mean, the green ticks and/or the red crosses).
If you download the PDF report, they disappear, but I'd rather let my students know if they're right or wrong immediately, with those symbols.
Moreover, how can we keep the original fonts and, especially, the same blanks graphically (instead of showing texts like "vuoto" and "domanda", in Italian).
If you manage to fix those two things, it would be great!
Thanks a lot.
Maybe you can fix the problems.
Hi Luca, good news — we've just released a new version that addresses most of the issues you mentioned:
Correct/incorrect markers: SVG icons now replace FontAwesome icons for green checks and red crosses, which makes them properly portable in PDF exports.
"Vuoto" / "Domanda" labels and hidden elements: Translation strings have been fixed, and elements with .visually-hidden are now correctly hidden in PDF output.
Multichoice rendering: The display of multichoice questions has been reviewed and improved.
Please update the plugin and let us know if things look better on your end!
Ejiro Ekpogbe
Hi Ejiro, the error Class mod_quiz/output/attempt_summary_information not found is typically caused by a mismatch between the plugin version and your Moodle version.
Could you let us know which version of Moodle you're running, and which version of the plugin you installed? Each plugin release targets a specific Moodle branch, so it's important to use the matching version. You can find the right release for your Moodle version on the plugin's download page.
Marco Grob
Hi Marco, we've just released a new version that should help with both issues you raised:
Performance: Exports can now run asynchronously, which significantly improves reliability for large quizzes. A configurable time limit setting has also been added.
Rendering issues (checkboxes, markers): Multichoice question display has been improved, SVG icons are now used for answer markers (fixing portability issues in PDFs), and general HTML rendering in PDF output has been refined.
Please give the new version a try and feel free to report any remaining issues.
Thank you for updating the plugin. The speed is much faster now and you added a setting page for adjusting the parameters. That's really fine.
Some design problem still exists at least with these two activities:
- Drag and drop markers
- Drag and drop onto image
There is no image in the resulting PDF. Just a red cross instead of the image and all possible answers. You couldn't see whats right and whats wrong. Actually, I cannot use it with this limitation.
I also mentioned that under Site administration | Plugins | Quiz | the text is "exportreport". That is just not looking good, but work okay.
I'm using Moodle 5.1.3+ freshly installed and with only this plugin.
And here the Quiz Export directly from a student. Below his name font "Export attempt" (PDF file):
Output of the original Review attempt:
--
Site administration plugin name not nice:
Configuration setting of the plugin \\[\\[exportreport\\]\\]: