Moodle plugins directory: Embed questions filter | Moodle.org
Embed questions filter
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.
For me, it is working perfectly on desktop/web, but in moodle mobile app, I do not see the embedded question. Rather I see "login page" in place of embedded question, inside the html page.
Can someone help ?
But, if something is not available on mobile (and is available on web only), can we ever include that in our course? Now that, we are in mobile world, how everyone is using this plugin?
I just want to understand what are best practices. Are institutes offering "web only" courses? Is it a practice globally among universities? and are students ok with learning "without mobile app" ?
Request you guys to share insights, on what is heppning?
Question1:
I wondered if it is possible to load a question dynamically by adding/updating a text element with the proper embedd string and using some JS as mentioned here: https://moodledev.io/docs/apis/plugintypes/filter#filtering-dynamic-content
Background of the question is the idea to build a system that rates question difficulty and student skill on a multidimensional framework using true skill algorithm (comparable to CAPquiz but with a external flask server as backend).
Question 2:
Is it possible to download a report on the embedded questions that lists all attempst instead of the most recent one? One can access the history manually but is this available automatically without a custom query to the database?
I can answer Question #2. Check out https://moodle.org/plugins/report_embedquestion
I'm experiencing the same problem as François Lizotte.
Moodle 4.1 - When we embed a question in for example a book from the question bank and edit the question in de question bank, the old version of the question remains visible in the book.
Is the version with the fix already released? Or is there a scheduled time for this to be released?
Thanks in advance!
We have submitted our TinyMCE 'Embed question' button plugin recently, and that has necessitated updates for the entire set, so they'll be a new version of this plugin shortly.
However, as to the issue reported by François Lizotte and yourself, we have not been able to replicate this on our own servers . The closest issue we know of is where staff at our university are caught out not realising that the question is loaded only at the start of the attempt/try - so if you have v1 of a question but you then update it, v2 won't be loaded until that original question attempt/try is finished and a new attempt/try started. We're wondering if this and other question versioning features introduced in M4.0+ might be causing confusion.
To battle this, we have been working with Moodle Core to make question versions more obvious, that staff are looking at the most recent (latest) question version, and be provided a link to the latest version if they're not. So some of that is in our latest plugins (to be released shortly as I've said), and other improvements are in Moodle 4.3+
Thank you for your response. I've tested again taking into account what you said about starting a new attempt. The updated version of the question is indeed shown in the book on the second attempt. Of course, this is confusing and not ideal behaviour for the student. When a teacher adds a question and later updates it, a student who does not make a second attempt will never see the updated version of the question.
Looking forward to the updated version of the plugin and the improvements in Moodle!
Once we upgrade to M4.3 ourselves, we may be in a position to further improve alerts that users are "looking at an earlier question version" part-way through a embedded question (assuming it is possible), but that will be a few months away.