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

Lesson acitivity should use questions from the question bank, not its own, non-pluginable question types

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.4, 2.2.3, 2.8.3
    • Fix Version/s: DEV backlog
    • Component/s: Lesson, Questions
    • Labels:
    • Environment:
      Moodle 1.9.4+ build 20090422, PHP 5.2.8, MYSQL 5.0.67, WINDOWS 2003 SERVER, IIS WEB SERVER
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_22_STABLE, MOODLE_28_STABLE

      Description

      An option inside Lessons to import questions from Question Bank plus already done import from file. This option avoid to export from question bank and then to import from Lessons.

      Something like already done in "QUIZ" where you can get questions from Question Bank.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              dougiamas Martin Dougiamas added a comment -

              Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.

              Show
              dougiamas Martin Dougiamas added a comment - Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.
              Hide
              throchelmeyer Thorsten Rochelmeyer added a comment -

              Many of the question types that are available for quizzes cannot be used within lessons. Would it be possible to merge the question engines for the quiz module and the lesson module? I guess this would make lessons a more valuable tool for learning.

              Show
              throchelmeyer Thorsten Rochelmeyer added a comment - Many of the question types that are available for quizzes cannot be used within lessons. Would it be possible to merge the question engines for the quiz module and the lesson module? I guess this would make lessons a more valuable tool for learning.
              Hide
              derekcx Derek Chirnside added a comment -

              Quite a large number of votes for this. I'd really like drag and drop in Lesson
              I have posted over in the lesson forum.

              • Has anyone managed to get lesson really humming?
              • I've also asked in the themes forum if there is a way to make the Lesson LOOK a little better.

              -Derek

              Show
              derekcx Derek Chirnside added a comment - Quite a large number of votes for this. I'd really like drag and drop in Lesson I have posted over in the lesson forum. Has anyone managed to get lesson really humming? I've also asked in the themes forum if there is a way to make the Lesson LOOK a little better. -Derek
              Hide
              dmhurtado Daniel Hurtado added a comment - - edited

              (Moodle 3.2.1) There is an option inside the activity lesson, but it doesn't work (at least for me, and I don't understand why):

              • Lesson->Edit->Expanded->Import questions->Embedded answers (cloze)
              • * I make a new cloze question with the cloze editor directly into the question bank and everything is right.
              • * Then I import it as a Moodle XML file but it doesn't work.

              I have also tried to generate a Hot Potatoes XML file, but it only works when I import to the question bank, no into the lesson.

              Here is information https://docs.moodle.org/31/en/Import_questions#Lesson_module_process

              And here https://docs.moodle.org/31/en/Embedded_Answers_(Cloze)_question_type

              It says that:

              Multiple CLOZE questions can be imported using the XML format:
              You would put the question text including CLOZE code in the ....... spaces.

              So, if I generate a text like this

              {1:SHORTANSWER:~%100% luck }

              suerte

              {1:SHORTANSWER:~%100% lucky }

              afortunado

              {1:SHORTANSWER:~%100% man }

              hombre

              How can I transform it into a XML file? I thought a Moodle XML imported from question bank should work, but it doesn't.

              Could anyone be so glad to explain me how can I do it right?

              Show
              dmhurtado Daniel Hurtado added a comment - - edited (Moodle 3.2.1) There is an option inside the activity lesson, but it doesn't work (at least for me, and I don't understand why): Lesson->Edit->Expanded->Import questions->Embedded answers (cloze) * I make a new cloze question with the cloze editor directly into the question bank and everything is right. * Then I import it as a Moodle XML file but it doesn't work. I have also tried to generate a Hot Potatoes XML file, but it only works when I import to the question bank, no into the lesson. Here is information https://docs.moodle.org/31/en/Import_questions#Lesson_module_process And here https://docs.moodle.org/31/en/Embedded_Answers_(Cloze)_question_type It says that: Multiple CLOZE questions can be imported using the XML format: You would put the question text including CLOZE code in the ....... spaces. So, if I generate a text like this {1:SHORTANSWER:~%100% luck } suerte {1:SHORTANSWER:~%100% lucky } afortunado {1:SHORTANSWER:~%100% man } hombre How can I transform it into a XML file? I thought a Moodle XML imported from question bank should work, but it doesn't. Could anyone be so glad to explain me how can I do it right?
              Hide
              abgreeve Adrian Greeve added a comment -

              Hello Daniel Hurtado,

              I recognise that there is an option in the import drop down to import cloze questions in the lesson, but cloze questions are not supported by the lesson module. Perhaps we need an issue to remove these unsupported import types from the lesson module import page.

              Show
              abgreeve Adrian Greeve added a comment - Hello Daniel Hurtado, I recognise that there is an option in the import drop down to import cloze questions in the lesson, but cloze questions are not supported by the lesson module. Perhaps we need an issue to remove these unsupported import types from the lesson module import page.
              Hide
              dmhurtado Daniel Hurtado added a comment -

              Excuse me, Mr. Greeve

              I disagree with you up to a point. In my view cloze questions shouldn't be removed. That is no solution at all, because it makes no advance, no progress, no improvement. The problem would just be hidden for a while.

              On the contrary the best way to resolve the frightening "scroll of the death" is to give complete functionallity to the connection lesson - question bank or at least to the option import embedded answers.

              It is a extremely serious problem. Here is the key of usability when it comes to produce a huge amount of information and not just a couple of activities.

              In the virtual classroom of my school and I suspect in the vast majority of sites, lessons are simply not taken into account. What is the result? A lot of files, a lot of activities... A large list. Large and uncomfortable for users. They hate it because a "normal" user simply hates scrolling.

              That is my experience. Honestly.

              Show
              dmhurtado Daniel Hurtado added a comment - Excuse me, Mr. Greeve I disagree with you up to a point. In my view cloze questions shouldn't be removed. That is no solution at all, because it makes no advance, no progress, no improvement. The problem would just be hidden for a while. On the contrary the best way to resolve the frightening "scroll of the death" is to give complete functionallity to the connection lesson - question bank or at least to the option import embedded answers. It is a extremely serious problem. Here is the key of usability when it comes to produce a huge amount of information and not just a couple of activities. In the virtual classroom of my school and I suspect in the vast majority of sites, lessons are simply not taken into account. What is the result? A lot of files, a lot of activities... A large list. Large and uncomfortable for users. They hate it because a "normal" user simply hates scrolling. That is my experience. Honestly.
              Hide
              abgreeve Adrian Greeve added a comment -

              I not saying that this functionality shouldn't be added. I'm just saying that currently it doesn't exist and that drop down list gives an inaccurate picture of what is possible in the lesson module. For stable branches we could remove those options now and there would be less confusion for everyone.

              Show
              abgreeve Adrian Greeve added a comment - I not saying that this functionality shouldn't be added. I'm just saying that currently it doesn't exist and that drop down list gives an inaccurate picture of what is possible in the lesson module. For stable branches we could remove those options now and there would be less confusion for everyone.
              Hide
              siderob robert sturgess added a comment -

              The flexibility we all want could be provided much more simply by modding the quiz module so that it isn't called "quiz", uses different icons, doesn't display an attempts page, and doesn't include the navigation pseudoblock or the question number/title/value at the left of each question. It should be easy since all we're doing is removing stuff from quiz.

              I'm working on this at the moment, but I don't really have the time or inclination to learn or understand the moodle codebase in any detail. I.e. it's gonna be a hack.

              Show
              siderob robert sturgess added a comment - The flexibility we all want could be provided much more simply by modding the quiz module so that it isn't called "quiz", uses different icons, doesn't display an attempts page, and doesn't include the navigation pseudoblock or the question number/title/value at the left of each question. It should be easy since all we're doing is removing stuff from quiz. I'm working on this at the moment, but I don't really have the time or inclination to learn or understand the moodle codebase in any detail. I.e. it's gonna be a hack.
              Hide
              timhunt Tim Hunt added a comment -

              I don't think you should import questions from the question bank to the lesson.

              The lesson should direclty use questions from the question bank: https://docs.moodle.org/dev/Using_the_question_engine_from_module

              Show
              timhunt Tim Hunt added a comment - I don't think you should import questions from the question bank to the lesson. The lesson should direclty use questions from the question bank: https://docs.moodle.org/dev/Using_the_question_engine_from_module

                People

                • Votes:
                  29 Vote for this issue
                  Watchers:
                  15 Start watching this issue

                  Dates

                  • Created:
                    Updated: