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

Adding images in Cloze vertical and horizontal display multiplechoices subquestions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.0.3
    • Questions
    • MOODLE_20_STABLE
    • 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.

      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.

        1. all_images.jpg
          202 kB
          Pierre Pichet
        2. cloze-with-image.xml
          0.5 kB
          UMass Amherst Instructional Media Lab
        3. Menu_in-line.jpg
          249 kB
          Pierre Pichet
        4. questions-T100-import1.9mix-20110314-1202.xml
          52 kB
          Pierre Pichet
        5. questions-T1-export 26511 selection-20130424-2301.xml
          477 kB
          Pierre Pichet
        6. questions-T-26511_with_or_no_images-20130604-2349.xml
          93 kB
          Pierre Pichet
        7. questions-T-26511-Default for Mis.xml
          46 kB
          Pierre Pichet
        8. screenshot-1.jpg
          75 kB
          Pierre Pichet
        9. screenshot-2.jpg
          132 kB
          Pierre Pichet
        10. screenshot-3.jpg
          68 kB
          Pierre Pichet

            Unassigned Unassigned
            ppichet Pierre Pichet (Inactive)
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.