Filters: Embed questions

Maintained by Tim at Lone Pine Koala Sanctuary Tim Hunt, Picture of John Beedell John Beedell, at the OU (Perry building) Mahmoud Kassaei
A Moodle text filter plugin that displays questions from the question bank embedded in the page.
111 sites
16 fans

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.


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 Plugins bot
    Fri, 13 Jul 2018, 11:10 PM
    Approval issue created: CONTRIB-7384
  • Picture of Polaris Lee
    Wed, 1 Aug 2018, 11:06 PM
    If this option is enabled in the filter, the block disappears from the single format course.
  • Picture of MAG II
    Wed, 8 Aug 2018, 9:08 PM
    Hello -

    Is there any documentation regarding how to add an ID to a question? I've just installed and configured your plugin.
  • Picture of MAG II
    Wed, 8 Aug 2018, 9:18 PM
    Oh that's it. Apologies for missing that. This makes sense. Very powerful plugin!
  • Picture of MAG II
    Wed, 8 Aug 2018, 9:28 PM
    Hi -

    One more question - are the embedded questions tied to activity completion as well as capable of receiving grades? More specifically, if I student answers the embedded questions correctly, will the course be marked as complete (as per my course configurations)?
  • Tim at Lone Pine Koala Sanctuary
    Wed, 8 Aug 2018, 9:32 PM
    No. The questions are not tied to anything.

    At the moment, this is just about being able to use Moodle questions to embed a bit of interaction within any content.

    Obviously, once students start interacting with things, one might want to keep a long-term record of that in a useable form (that is, in addition to the log entries). However, that would be a lot more work. We might think about doing that some time in future, but it probably won't be any time soon. For now, we just wanted to build something simple, which is what we did.
  • Picture of MAG II
    Wed, 8 Aug 2018, 9:36 PM
    Ok I see what you mean. I was hoping to embed a simple multiple choice quiz into course HTML. The idea is to minimize the number of clicks one has to go through order to take a quiz / submit the answers. I guess Moodle just isn't there quite yet. Thank you for your quick and timely responses.
  • Picture of Joseph Rézeau
    Tue, 20 Nov 2018, 12:57 AM
    What is the meaning of the Question variant field when embedding a question?
  • Tim at Lone Pine Koala Sanctuary
    Tue, 20 Nov 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).
Please login to post comments