Mensagem enviada por Joseph Rézeau

Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators
Hi Bill,
Yes, all kind of customization of the glossary popup window are possible through the CSS files in your current theme. Please re-post your question to the Themes forum, together with a screen shot showing exactly which elements in the glossary entry popup window you would like to be removed, and also which Moodle version you are using and which theme (standard distribution or customized).
Joseph
Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators
Adriane,
As I continue to test your drag & drop ordering question type with "real" examples from my own teaching, I suddently realize that another ordering question type was proposed by Thomas Robb, not so long ago (this thread). Have you been in contact with Thomas at all?
Anyway, as you will find out from that thread is that after some discussion re the scoring system of the ordering question type, we were finally agreed that 2 scoring systems ought to be available to the teacher, one "absolute" and one "relative".
Could you fit this scoring scheme in your question plug-in?
Joseph
Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators

Found a bug in edit mode of the drag & drop question when you want to create a question with more than 6 items in it. For exemple create a question with 7 items in it.

  • Create a new "ordering" type question.
  • enter question name and question text
  • enter 3 items
  • click on Add more items button
  • enter items 4 to 6
  • click on Add more items button
  • enter item #7
  • click on the Save changes button
  • you can't save your question!

The only way to create more than 6 items is to create a question with 3 or 6 items only, save it, then edit it, add the extra items, and save it again.

Joseph

Imagem de Core developers Imagem de Plugin developers Imagem de Testers Imagem de Translators
There is a (minor) display problem in the drag & drop ordering question. With fairly long text items, such as phrases or sentences, it is usually preferable to select the vertical display option. However, for continuous text re-construction, a teacher may prefer to have the horizontal display on. In that case, the height of the box surrounding the items is too small, which causes an overlapping problem (see screenshots #1 and #3). A workaround is to add this CSS rule to standard theme (or the course's actual theme):
.draglist.inline {
 line-height:2.2em;
}

It works (see screenshots #2 and #4). However, you might consider adding this extra height to the item boxes directly in your questiontype.php file.

Joseph

PS 1.- Note that in any case the longish text items may overflow over to the next line. Personally I do not find this a problem.

PS 2.- With text items displayed over more than one line, the drag & drop will only work from the beginning part of the item. For example, in #4, although the drag & drop cursor will appear when hovering over "Source software package designed etc." it will not be possible to carry out a drop & drag action there; drop & drag will only work on the "a free, Open" part. It would be more user-friendly not to display the drag & drop cursor on an item part which is not draggable, but this might entail complex programming.

Anexo image00.jpg