I think it may be possible to tweak the file glossary/filter.php but I wanted to check if anyone had any easier thoughts or suggestions before I attempt this!
This is the problem I can't solve either. Do you get to know the answer by now? I would really appreciate if you shared your experience with me on this field!
Thanks in advance!
I see. OK, thanks. Maybe we will add some mp3s to the Glossaries so as they gave more info in the big window. Oh, one more thing. Do you know how can I specify a size parametre for glossary window? It is too big and I can not get it to open smaller automatically in a smaller window. It is resizeable manually but it would be much better to specify a size.
If you are willing to hack your moodle core files this is where you will find the glossary popup window size parameters (for Moodle 1.8). In file mod/glossary/filter.php line 137 etc.
$href_tag_begin = '<a class="glossary autolink glossaryid'.$concept->glossaryid.'" title="'.$title.'" '. 'href="'.$CFG->wwwroot.'/mod/glossary/showentry.php?courseid='.$courseid. '&concept='.$encodedconcept.'" '. 'onclick="return openpopup(\'/mod/glossary/showentry.php?courseid='.$courseid. '\&concept='.$encodedconcept.'\', \'entry\', '. '\'menubar=0,location=0,scrollbars,resizable,width=600,height=450\', 0);">';
replace width and height with your preferred values.
(I use 1.9.)
(BTW. I have written some notes to Adriane's Drag & Drop ordering and matching questions. I need help in installation. Can you help me?) Sorry for mentioning here but writing here seems to worth a lot! ;)
Does it work, guys?
It looks like a smart and useful changing...
Showing the definition instead of the concept would save students time, so they have it over there.
I have a dictionary glossary, where this functionality would fits so perfectly.
Lezlie: "I believe the glossary will already do this. We use Moodle 1.9. My linked glossary definitions used to appear with a mouse-over without the need to open in a new window."
As fas as I can remember this is not true. The standard behavior of glossary auto-links is for the user to click the hyperlinked word, which opens up the relevant glossary definition in a popup window. There is not setting to show the definition on mouse hover, this is why I proposed a hack in MDL-18213.
This is a bit like the Great Blog Debate that smouldered for years. The problem is often that the developer sees the module being used one way while other users would like to use it another. Michael Dougiamas used to insist that blogs in Moodle should on no account allow comments, because blogging would distract students from activities and there were other modules, such as forums, which kept blog-style interaction in the learning context. That may have been true for many installations, but for many others, Moodle blogs would have held benefits. Now I see comments can be enabled if desired. From the user end, that's a simple solution to the problem of whether blogging should be allowed or not.
I suggest the question of whether definitions display in pop-ups or tooltips is a similar issue. When the developers have time to put in the code, users should have the option of displaying definitions in pop-ups or tooltips.