Cross XML format
Maintained by
Daniel Thies
This input format plugin is a handy utility that converts questions from one question type to another.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
If you want to prevent converting the matching questions you can change import_match to return null or modify the switch statement in import_question to return null.
Daniel
HTH & kind regards,
Przemek
public function import_match($question)
in /question/format/crossxml/format.php
?
I will give this a try.
"If All-or-Nothing Multiple Choice is installed those questions will be converted to regular multichoice with more that one response. If it is not installed, they will be skipped. Each will be marked with percentage of possible correct responses checked or zero if an incorrect response is selected. You can create All-or-Nothing Multichoice questions from the standard ones using Import all or nothing format."
In other words, there's apparently only one-way traffic that your plugin provides: All-or-Nothing MC => MC , but not the other way round.
I'd like to achieve the same with Matching & Drag-and-Drop Matching - only from Drag-and-Drop to regular Matching, never the opposite.
I will try to see if I can adjust the code for myself, but maybe you will have some suggestions?
As a feature, in general, being able to control the conversions (which ones really apply and in which directions only) could be a valuable admin setting.
Many thanks for any help. Best regards, Przemek