Where can I get the "The Glossary Only First" filter? And how is it installed? I am doing technical IT courses and the same word is used multiple times. The auto-linking is a bit much if it keeps on linking the same word in the same block.
Thanks so long, Regards, Leon
the Glossary Only First filter has been superseded by two new global options in the new 1.5 filtering library. Currently there isn't a graphical interface to configure it, but you can add any of this lines to your config.php file to play with the new options:
$CFG->filtermatchoneperpage = true; //To autolink each term only once per page
$CFG->filtermatchonepertext = true; //To autolink each term once per text block
Hope it helps, ciao
PD: Obviously, only one of the above must be set (are exclusive). If both are defined, the more restrictive (oneperpage) will have priority!
This filter is great and most useful to override Moodle's tendency to overdo the glossary linking. And it is a very good idea to make available 2 degrees of filters, with one per page and one per block text. I have tested it with version 1.5.1 and it works fine.
However I regret that such settings are available at admin level and not at teacher level. May I express (once more) the opinion that far too many settings in Moodle are unavailable at the level where things really happen, ie. the course level, not the site level. When Moodle is used at large institutions (such as a university), there are many cases where individual teachers or groups of teachers have different needs & pedagogical options. I do appreciate that a number of technical decisions have to be made at top level, i.e. admin, otherwise the site would be a mess. But it is not acceptable to me that pedagogical decisions (such as the glossary filter and many other such fine-tuning options) should be in the hands of admin (or, which comes to the same, should be made the same for all of the teachers en masse) .
I agree 140% with you (at least in the filters thing). Delegating the control from admin level to teacher level for each course (and, perhaps, per activity) is the perfect approach. Sure!!
And it should arrive in the future, I think. A pool of ideas about this feature is open in the Filters Schema wiki page and some ideas and possibilities have been written in bug 2400 too.
The only problem with all those stuff with filters is that it seems to need that *every* script responsible of displaying contents must be modified to be able to handle the required info to support such level of customisation. And, apart of the number of scripts (that is really big, but can be implemented gradually), the most relevant thing is the importance of the change, because it implies to change show we fetch (from DB) and store some info that, currently, is being handled in a different way. And those CORE changes must be defined, analysed, discussed, tested and optimised before implementing them, you know. Finally, prioritisation of development tasks has something to do here too, sure (although this can be modified with the needed funds, if I'm not wrong).
But yes, such feature should finish in teacher's hands!
Talking about filters, have you seen any of the notes posted above about the possibility to configure all those things at course and activity level.
Would be it a good idea to "make a plan" about how to implement it and what does it require? Y/N?
I second your proposal: please let's have a plan to make filters configurable at course level (at least)
I am trying to put this in the config.php
$CFG->filtermatchonepertext = true; //
But I am a newbie, and I am not sure in what area in 1.6 dev its filters but what about 1.5?
$CFG->filtermatchoneperpage = true;
to moodle > config.php and I still have words linked multiple times per page in the book module. Can you think of what I may be missing?
Also, I downloaded the files linked here: http://moodle.org/mod/forum/discuss.php?d=15289&parent=76841
however I was unable to unzip them on my Mac.
Thanks in advance for your help.
If you are using Moodle 1.5.x distro files contain both the:
options (a proper GUI is inside next 1.6 to configure them)
So, if you are using 1.5.x and multiple links of the same text remains, perhaps it's due to the cache time life specified under "Administration/Filters". Once that amount of time have expired (or if you set it to none), filters will be applied again and you should see one one link per page.
Thanks so much for your response. This is what I have done according to your advice.
I found the text (and uncommented to activate) $CFG->filtermatchoneperpage = true; in the moodle/config-dist.php file. Next, I went to the admin/filters.php interface and changed Text cache lifetime: to No. In my book module, I still have glossary terms showing up multiple times per page. I am using Moodle 1.5.2.
Thanks again for any advice you can give me,
the config-dist.php file is just one template showing you all the options supported. To make any setting to work you have to add it to the config.php file.
That is exactly what I was doing wrong. Thanks so much for helping me through this. It worked perfectly!! I appreciate your help