Filters: Embed questions

filter_embedquestion
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of John BeedellJohn Beedell, at the OU (Perry building)Mahmoud Kassaei
A Moodle text filter plugin that displays questions from the question bank embedded in the page.
148 sites
201 downloads
19 fans
Current versions available: 1

This filter allows questions from the question bank to be embedded anywhere that users can input HTML. This can be used in various ways. It can be a way to make learning materials more interactive. For example you may wish to embed question in a Book, or a Page, or even a Label. Or perhaps a student asks in a forum about some tricky grammar concept, and you have a question that illustrates your reply, well now you can include that qustion in your reply, so the student can immediately test their understanding.

It is designed to be used with the associated Atto editor plugin which makes it easier to set up the embedding.

This plugin was created by the Open University, UK.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Picture of John Beedell
John Beedell: Developer
at the OU (Perry building)
Mahmoud Kassaei: Developer
Picture of Chris Nelson
Chris Nelson: Product owner
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tim at Lone Pine Koala Sanctuary
    Tue, Nov 20, 2018, 12:59 AM
    That is only used by some question types, like Calculated, Variable numeric, STACK, ... where the question has internal randomisation. For those question type, it lets you force the question to show a particular random variant, which mostly you don't want.

    So, almost always, it is safe to ignore that option (but we included it for completeness).
  • Picture of Ger Tielemans
    Wed, Mar 20, 2019, 8:52 PM
    Easier to use after adding all these IDs. Three questions: 1. popup option is gone? 2. does it now also work in Moodle Mobile? 3. just checking: students are always excluded from this option?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Mar 20, 2019, 9:00 PM
    1. I have no idea what you mean by 'popup option' There was never anything about pop-ups with this plugin.

    2. It does not work in Moodle mobile yet, and as far as I can tell, it would be very hard to make it work. The mobile app has very limited support for filters so far.

    3. The exact answer to this question is that you can only embed questions if you have the moodle/question:useall/mine capability in the course context of the course you are in. With the normal rules setup, that means that you need to be Editing teacher or higher.
  • Picture of Robert Schrenk
    Wed, Mar 20, 2019, 9:27 PM
    Hello,

    we are using Moodle 3.5.4. Although the capability moodle/question:usemine is granted to editingteachers the list of categories from the question bank is empty. This is also true if we try it as admin (and I think admins at least really have the capability wink)

    Kind regards
  • Tim at Lone Pine Koala Sanctuary
    Wed, Mar 20, 2019, 9:29 PM
    That will be because you have not set ids on the categories correctly. Read the help carefully: https://github.com/moodleou/moodle-filter_embedquestion/blob/master/internaldoc/functionality.txt
  • Picture of Ger Tielemans
    Thu, Mar 21, 2019, 6:05 PM
    "...It does not work in Moodle mobile yet, and as far as I can tell, it would be very hard to make it work. The mobile app has very limited support for filters so far...." So first people remove the blocks, then the filters and they are still allowed to call it Moodle?
  • Picture of Ger Tielemans
    Thu, Mar 21, 2019, 6:12 PM
    Ah I see, we used the insert_question filter UNTIL NOW. (i prefer your version of embedding, because the ID aspect gives you control over the questions which are allowed to embed ...and finding the right question with the Atto plugin is much easier.
  • Picture of Ger Tielemans
    Thu, Mar 21, 2019, 7:12 PM
    The filter-simple question plugin is not using roles, so if I - for example - as a teacher use a forum and switch on the embed a simple question filter to embed a question in my text, then students can embed and see also a question in their forum answer box if they know the number: if they raise or lower that number see also can see all kind of other questiuons...
  • Picture of InsightKorea JobS
    Fri, Mar 29, 2019, 7:17 PM
    Thanks for good plugin. I like this.
    But I want to use this in tinymce editor. Do have a plan to launch for tinymce?
  • Tim at Lone Pine Koala Sanctuary
    Fri, Mar 29, 2019, 8:53 PM
    We have no plans to make a TinyMCE plugin, but that is all that would be required. Someone just needs to make a TinyMCE plugin (like https://moodle.org/plugins/?q=type:tinymce) which does the same as our Atto plugin (https://moodle.org/plugins/atto_embedquestion). It would be great if someone did this.
  • El Jabato
    Tue, Apr 2, 2019, 1:38 AM
    how to add an ID to a question?
  • Tim at Lone Pine Koala Sanctuary
    Tue, Apr 2, 2019, 6:35 PM
    In the Moodel question bank. Both questions and categories can be edited. Both have a Name. If you are not sure how, this is in the standard Moodle documentation.

    (Just to complicate matters, in Moodle 3.6 there is a new field 'Id number' on questions and categories, and my colleage Mahmoud is just working on converting this plugin to use that instead of putting it in the name, so the instructions will change at some point, but that is in the future.)
  • Picture of Andre _
    Wed, May 15, 2019, 8:41 PM
    Are you planning on implementing a feature of permanent saving student's submitted input? It would be helpful for a student as a form of personal notes during lessons.
  • Tim at Lone Pine Koala Sanctuary
    Wed, May 15, 2019, 8:42 PM
    We are planning to do that. It is currently not clear when we will have time.
1 2
Please login to post comments