Quiz and general Moodle extension

Quiz and general Moodle extension

John Kemp發表於
Number of replies: 9

I would like to see the addition of a URL field to a quiz question. This would allow me to link each question to the lesson/book/chapter/assignment in which the answer can be found.

Ideally, I would like to be able to choose the url from a pop-up chooser. I've been thinking about this quite a bit and I wonder if this might work: Imagine that each module had its own "activity browser" pop-up which could be displayed by any other module (to promote loose coupling). Each module maintainer would be responsible for displaying the appropriate/contextual information needed for linking to that module's resources. For instance, lets say I want to link to a Book chapter from a Quiz question to show where the answer came from. The Book module's activity browser could show Books with chapters as a tree view. Each tree node would be a URL to a chapter and could be "chosen" (or copied) for linking. Another example would be Assignments. It would be nice to link to Assignments from Books or Quiz questions. In a last Book chapter, for instance, I could use the Assignment activity browser to choose the Assignment activity and then choose an assignment to which I want to link. I know this isn't very clear. I will come up with some screen shots to explain my vision.

Thanks, John

評比平均分數: -
In reply to John Kemp

Re: Quiz and general Moodle extension

Gustav W Delius發表於
Hi John, I wonder whether this is really necessary. What I simply do currently is open a second browser window with Moodle in it and in that window I use the usual Moodle navigation to browse to the page I want to link to. When I have chosen the page I copy its URL from the address bar. I go back to my first window where I am editing my question and I paste that link into my question text or feedback.
In reply to Gustav W Delius

Re: Quiz and general Moodle extension

John Kemp發表於

Point taken. I was thinking about this from the standpoint of the those in my office who would be doing the administering. It would be nice for something like that to be baked in. I agree, it may not be have a huge ROI but its something to think about for 1.6 or 2.0.

Thanks

In reply to John Kemp

Re: Quiz and general Moodle extension

Jeff Forssell發表於
I was glad to see that the feedback in the CLOZE questions was presented with OverLib type popups.  I tested how it could be formatted and fond that HTML tags: B U fontcolor SUP SUB were all supported. I was also able to put in a LINK (which is why I'm hooking on here) but because of the type of popup, it wasn't possible to click on it (The popup moves with the mouse!).  It is possible to choose to have OverLib popup STICKY which means they stand still until you either activate another or enter AND LEAVE the popup with the mouse. It would seem to me that having a STICKY feedback popup would only have advantages.
In reply to Jeff Forssell

Sticky feedback popups

Gustav W Delius發表於
Jeff, having sticky feedback popups sounds like a good idea. The current popups are created with

" onmouseover=\"return overlib('$feedback', CAPTION, '$strfeedback', FGCOLOR, '#FFFFFF');\" onmouseout=\"return nd();\" "

If someone tells me what to change that to to get sticky popups then I will happily do that.
In reply to Gustav W Delius

Re: Sticky feedback popups

netm@n by發表於

I do not really know what to change, but in calendar/view.php this is already implemented. You can point your mouse over the day of the event and here you go...

And if you really want to improve it you may add class to it instead of putting color info directly.

In reply to Gustav W Delius

Re: Sticky feedback popups

Jeff Forssell發表於
http://www.bosrup.com/web/overlib/?Documentation

" Xonmouseover=\"return overlib('$feedback', CAPTION, '$strfeedback', FGCOLOR, '#FFFFFF');\" Xonmouseout=\"return nd();\" "

Seems like it should be enough to put in "sticky" like this:

" Xonmouseover=\"return overlib('$feedback', STICKY, CAPTION, '$strfeedback', FGCOLOR, '#FFFFFF');\" Xonmouseout=\"return nd();\" "

http://www.bosrup.com/web/overlib/?Features

has som other examples of many ways to use overLib (I can't seem to find one that demonstrates everything step by step. I have some memory of that but can't find it now.
This one (the last on that page):

overlib('<a href=\'http://www.bosrup.com/web/overlib/\'>Popups by overLIB</a>', STICKY, MOUSEOFF, WRAP, CELLPAD, 5)

obviously has a working link in it.  Though WRAP should probably not be there for MOODLE since it could make trouble for longer texts.

MOUSEOFF might be good, it just closes the popup if you leave it.

http://www.bosrup.com/web/overlib/?Command_Reference - actually demonstrates a lot of the features too.

I guess I would suggest trying:

" Xonmouseover=\"return overlib('$feedback', STICKY, MOUSEOUT, CAPTION, '$strfeedback', FGCOLOR, '#FFFFFF');\" Xonmouseout=\"return nd();\" "


In reply to Jeff Forssell

Re: Sticky feedback popups

Gustav W Delius發表於
Thank you, I have followed your suggestion, it is now in Moodle 1.6. However the MOUSEOUT or MOUSEOFF doesn't seem to do anything.
In reply to Jeff Forssell

Re: Quiz and general Moodle extension

netm@n by發表於
Yes another problem exists: This ovelib popup looks terrible when it overlaps drop-down list that might be in the same cloze question. The result - student can not see the entire feedback because it is eaten with drop-down list. Any suggestions?
In reply to netm@n by

Re: Quiz and general Moodle extension

Jeff Forssell發表於
When I try it, I see the whole feedback. If I click on the dropdown while the feedback is shown, it covers part of the feedback, but I can easily click it away again. (I'm in FF, haven't tried IE)

Don't feel like it is a real problem.  There are parameters in OverLib for telling it WHERE to appear, but that might be difficult to find a "cover all cases" choice for that.