embedquestion plugin is doing nothing

embedquestion plugin is doing nothing

by Peter Kleber -
Number of replies: 7

Hello,

I'm kinda new to this forum here, so sorry if i'm not using it correctly.
But i've a problem and Ihope this is the right place to solve it.

Lately I was asked to make myself familiar with the books in moodle and as part of it I want to kinda add a Quiz.
We're using the Atto-Editor and the embedquestion plugin seems to be instaled (The button is visible in the Atto-Editor, so i asume it isd instaled).

I've never used it before and it took me a while to see that Questions need to have an ID.
So I created some questions, gave rhem IDs and wanted to embed them.

At first it seems as if it would work, I could select the question and press the button without an error

---

But nothing is happening.

I've no idea why it isn't working or what I'm doing wrong.

It would be great if someone could help me,
thanks
smile

Average of ratings: -
In reply to Peter Kleber

Re: embedquestion plugin is doing nothing

by Shirley Gregorczyk -
Picture of Particularly helpful Moodlers
Book Activity or H5P Interactive Book?
sg
In reply to Shirley Gregorczyk

Re: embedquestion plugin is doing nothing

by Peter Kleber -
Book Activity. I've never worked with H5P
In reply to Peter Kleber

Re: embedquestion plugin is doing nothing

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
i'm moving this to the Quiz forum because (even though you are using Book) the embedded question plugins are managed by the people who look after Quiz. We do have it on Moodle.Academy and it works fine so there must be something not quite right about your set up. Can you check you have filter_embedquestion as well as atto_embedquestion? (Also  I don't see "iframe description" in my version of the plugin so I wonder if we have different versions?)
Average of ratings:Useful (2)
In reply to Mary Cooch

Re: embedquestion plugin is doing nothing

by Peter Kleber -
Ok, thanks for moving it.

Maybe it's a little bit stupid question, but how can I see if I have both?

I'm just working on the Moodle course as a student assistant, so installing plugins and so on is something I've never done...
Average of ratings:Useful (2)
In reply to Mary Cooch

Re: embedquestion plugin is doing nothing

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Mary!

1.- It would be strange that the atto embed question plugin should be installed and the filter embedquestion plugin NOT installed on Peter's Moodle site! Anyway, just to make sure, if that is the case (I've tried it), then it is possible to try to insert a question by using the Embed question button on the Atto editor, and things seem to work, and the relevant code is indeed displayed, but when saving the page, the code still appears as code, not as a question, see screenshot below. When Peter says "But nothing is happening." what does he mean exactly? No code is displayed? Can he save the page?

2024-10-31_11-58-37.jpg


2.- I agree with you that the "Iframe description" field should not appear in the box, as can be seen in this screenshot. Probably due to some customisation of Peter's Moodle site?2024-10-31_11-44-32.jpg

Average of ratings:Useful (1)
In reply to Joseph Rézeau

Re: embedquestion plugin is doing nothing

by Peter Kleber -
With nothing is happening

I mean that I can press the button (without having selected a category or question its more gray and white and blocked)

but it has no effect at all.
No code is displayed, as if the button has no effect.
You can click it again and again but not even the dialog-window for embedding a question is closing itself.

Everything stays exactly the same
In reply to Peter Kleber

Re: embedquestion plugin is doing nothing

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Can you check the browser console for any error messages