Embed questions filter

Filters ::: filter_embedquestion
Maintained by TimTim Hunt, at the OU (Perry building)Mahmoud Kassaei, Chris Nelson
Part of set Embed questions.
A Moodle text filter plugin that displays interactive questions from the question bank embedded in the page.
Latest release:
1234 sites
400 downloads
65 fans
Current versions available: 3

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 an interactive 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 question 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 lets 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.

Note: Essay is not an interactive question. Description is neither interactive nor a question.

This plugin was created by the Open University, UK.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Comments

  • Chris Nelson
    Tue, 18 Feb 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, 18 Feb 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
    Tue, 18 Feb 2020, 4:28 PM
    Just to note that Javier's issue is being discussed in the quiz forum: https://moodle.org/mod/forum/discuss.php?d=397158
  • Sergio Luciano
    Wed, 13 May 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, 14 May 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.
  • Blessing Gwelo
    Thu, 6 Aug 2020, 7:06 PM
    This plugin is either not functioning or I don't know how to embed questions. I have a page I would like to add a question to I have added the embed question filter plugin as well as the otto embed question plugin but I cannot seem to find any options for embeding a question on the course page or the specific page where I want to embed the question.
  • Edwin Lynd
    Fri, 7 Aug 2020, 2:04 AM
    Hi, when embeding question in html page on Moodle app, questions can be loaded: moode/login/index.php, because of net::ERR_BLOCKED_BY_RESPONSE, is this a common problem? anyone has the success experience on app?
  • Tim
    Fri, 7 Aug 2020, 5:29 PM
    We have not yet made any particular effort to get this plugin to work in the mobile app yet. It is something we would like to do, but we have not had time yet.
  • Jamie Burgess
    Sat, 3 Oct 2020, 6:04 AM
    Hi Tim, I'm being asked if this filter can save students data in Moodle 3.5. Upgrading is not possible right now. I'm thinking of backporting it. Does this sound do-able?
  • Tim
    Sat, 3 Oct 2020, 6:07 AM
    Well, you would need to backport the report plugin. And, questoin idnumbers, which this report users, was only added in Moodle 3.8. So, you could probably do it, but wouldn't it be better to spend the energy upgrading the Moodle site to a supported version?
  • Fatih Gelgi
    Fri, 15 Jan 2021, 1:19 AM
    Does the filter work on global categories in the question bank or only the categories in the current course?
  • Tim
    Fri, 15 Jan 2021, 1:25 AM
    Only the current course.
  • saint patrick
    Thu, 11 Feb 2021, 10:23 AM
    Hi Mr. Tim,
    if its only work for current course categories so we can not import the embed questions to another course,right?
    because when im trying to import to another course the multiple choice is missing.
  • Mohamed Hilmi
    Fri, 26 Feb 2021, 2:16 AM
    Hello
    I have a problem with the embedquestion plugin, it is well installed with its update, and every time I save, a message appears as: class'backup_report_embedquestion_plugin 'not found
    I would like to know how to solve this problem which prevents me from saving my work.
    thank you
    Mr HILMI
Please login to post comments