Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26511

Adding images in Cloze vertical and horizontal display multiplechoices subquestions

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Mainly import the some questions from https://tracker.moodle.org/secure/attachment/32973/questions-T-26511_with_or_no_images-20130604-2349.xml which put specific images in the question text, answers for multi and feedback for all question types and the same questions without images.

      Check the behaviour of set_subquestions_elements_itemid($question, '@@PLUGINFILE@@');
      and looking at the file table records that the setting of image links are only created if there is an image in the given element. This also verify that the import is OK.

      Then edit copy the questions. test the decode verify display, save the question. This will test the filtering process
      set_subquestions_elements_itemid($question, 'draftfile.php');

      Create a copy of the question to another category.

      Move the questions to another category and context.

      Create a quiz, test OK.

      Show
      Mainly import the some questions from https://tracker.moodle.org/secure/attachment/32973/questions-T-26511_with_or_no_images-20130604-2349.xml which put specific images in the question text, answers for multi and feedback for all question types and the same questions without images. Check the behaviour of set_subquestions_elements_itemid($question, '@@PLUGINFILE@@'); and looking at the file table records that the setting of image links are only created if there is an image in the given element. This also verify that the import is OK. Then edit copy the questions. test the decode verify display, save the question. This will test the filtering process set_subquestions_elements_itemid($question, 'draftfile.php'); Create a copy of the question to another category. Move the questions to another category and context. Create a quiz, test OK.
    • Affected Branches:
      MOODLE_20_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This is a follow up of adding HTML to multiplechoice question MDL-24594.
      In 1.9 users can put image in Cloze multiplechoice answers so we should implement this in 2.0..
      The HTML editor is already there for the questiontext that is used to generate the subquestions answers.
      This will need a very specific code given that the question images of the main cloze question will be used answers of the child multiplechoice questions.
      This could not be implement in the select element classic multichoice.

      The coding will be more complex and necessitates a distinct project.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  5 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated: