Filters: Embed questions filter

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.
504 sites
33 fans
Current versions available: 2

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.

Installing the Embedded questions progress report is also recommended. This lest staff and students track what progress has been made at all the embedded questions in a course.

Questions can only be embedded if they have an idnumber set, and where the category the question is in has an idnumber. This is for two reasons: first, to make it harder to accidentally embed questions from your end-of-course exam; and second, because this is how the filter uniquely identifies the question to show.

This plugin was created by the Open University, UK.


This plugin is part of set Embed questions.


Screenshot #0
Screenshot #1
Screenshot #2


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
  • Picture of Chris Nelson
    Tue, Jun 4, 2019, 9:36 PM
    @ Paul Gillary: it's on the 'To think about' list, but we're not sure when we'll get around to it.
    Essentially we need to store student responses first (which is our next priority alongside getting Embedded Moodle Quiz Questions to working the Moodle App) before we can think about how to handle Essay. If we do address Embedded Essay, it might only be usable as an ungraded essay, where submitting just saves the inputted text and also shows general feedback (so no ability for a tutor to manually mark).
    It would have been cleverer of us to release this feature with a filter excluding Essay completely, but I didn't think about that at the time. Sorry. But Ger Tielemans' response sounds like a viable workaround.
  • Picture of Ger Tielemans
    Tue, Jun 4, 2019, 10:34 PM
    No, No the idea of the workaround is that during the formative learning process the student - while reading a text - is invited to reflect on that text by answering an in-line question. That essay answer is not stored, it is only needed during the compare process: we assume that the student makes an "a-ha" note in her/his personal journal, for example with the "my notes" plugin or in an old fashion paper notebook.
  • Picture of Mark Glynn
    Sat, Jul 13, 2019, 8:06 PM
    Well done to everyone involved in this plugin. @tim - how much would it take capture the responses. I note that you've commented in 2018 that it is a lot more work. I'm wondering has any progress been made on this since then or is it a project you would consider if we could crowd source funding
  • Picture of Chris Nelson
    Sat, Jul 13, 2019, 10:58 PM
    @Mark: we had originally planned to start working on it now (originally as a "One year anniversary" release for September), but as is the way of things, other higher-priority projects have landed in our laps. But we are hoping to look at adding response-storage soon, and that version might be available in December-February. Not that we've been idle on this feature since initial release - following user feedback, we've been making some improvements to display, and the latest version allows "random from category" questions. We'll publish that in a couple of weeks (as we'll have to also check Moodle 3.7 compatibility etc.)
  • Peter Jonker
    Fri, Sep 27, 2019, 11:10 PM
    Hi Tim, I have installed version 2018111900 in a 3.5 Moodle. Added 2 questions in a course quiz category. Also installed the Atto button. The dropdown on category however remains empty. Am I missing something?
  • Tim at Lone Pine Koala Sanctuary
    Fri, Sep 27, 2019, 11:13 PM
  • Peter Jonker
    Tue, Oct 1, 2019, 11:14 PM
    Thanks Tim read about the ID but thought the 3.5 version could do without, reading the instructions I got it to work
  • Picture of Edinardo C
    Wed, Dec 18, 2019, 3:15 AM

    Sorry for the silly question, but can I count the student's grade as if it were on a normal quiz?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Dec 18, 2019, 6:55 PM
    Not a silly question.

    The intention of this plugin is for student to practice their skill and/or test their understanding as they study. Therefore, grades don't go to the gradebook. However, if you install, then you get a report that lets both students and teachers see which questions have been attempted.
  • El Jabato
    Mon, Feb 17, 2020, 8:45 PM
    I am trying to use the plugin, embed question filter. I already have the idnumber set, and where the category the question is in has an idnumber. When I want to embed the question, everything is fine, I can choose the category and the questions but the key to embed doesn't work. This works if I choose a ramdon question.
  • Picture of Chris Nelson
    Tue, Feb 18, 2020, 12:49 AM
    @Javier: what is your category ID and the question idnumber? There are some special characters that don't work within the ID field. Also, another common problem is that the category must be on the website/course and not at the category/server level.
  • El Jabato
    Tue, Feb 18, 2020, 4:11 PM
    At the moment it is working if I add a letter "q" before the question idnumber, and I can add a question without problems, but it sometimes doesn't work when I try to see the question for a second time. It is written error in the id question.
  • Tim at Lone Pine Koala Sanctuary
    Tue, Feb 18, 2020, 4:28 PM
    Just to note that Javier's issue is being discussed in the quiz forum:
  • Picture of Sergio Luciano
    Wed, May 13, 2020, 11:00 PM
    I'm trying to add essay questions using this plugin, but when I goes to the page I can't see a button to subimit the essay. When I use another type os question, like multiple choice, I can see a button to complete the question.

    Is it possible to use this plugin with essay questions?
    If no, would have a way for me to go into the code and customize it to allow fillings essays also?
  • at the OU (Perry building)
    Thu, May 14, 2020, 4:00 PM
    Hi Sergio, Essay questions are manually graded and filter/embedquestion is designed for interactive questions so that students get immediate feedback and it is appropriate for question behaviours such as 'Immediate feedback', 'Interactive with multiple tires', etc.
1 2 3
Please login to post comments