Posts made by Joseph Rézeau

Picture of Développeurs Picture of Développeurs de plugins Picture of Moodleurs particulièrement utiles Picture of Testeurs Picture of Traducteurs
Je ne suis pas certain de bien comprendre la question mais, s'il s'agit de demander aux étudiants leur avis, leur opinion sur le contenu d'un cours, il faudra envisager d'installer un module de sondage d'opinion, comme Feedback ou Questionnaire, que l'on trouve dans la page des plugins de Moodle.
Joseph
Average of ratings: Utile (2)
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Further to this discussion, I have implemented a hack to display initialbars in more than one alphabet. This may be useful on moodle sites which have users enroled in different alphabets (i.e. latin, cyrillic, hebrew, etc.). Here is the rationale and how the hack works.

There are 2 initialbars (First Name and Surname) in Moodle. Those initialbars are used in the following standard Moodle activities & blocks:

  • Assignment (View submissions)
  • Quiz (report overview, if more than 20 students attempts)
  • Block "People / Participants list"

Initialbars are probably used in other 3rd-party plugins (e.g. in Quizport).

The alphabet used in those 2 initialbars is determined by the current language (this may be the site's default language, or the course's forced language or the user's language. In order to display more than one set of initialbars in the various places where initialbars can be displayed, the only file which has to be hacked is moodle/lib/tablelib.php.

Case #1

More than one set of initialbars needs to be displayed for a whole Moodle site.

In file moodle/lib/tablelib.php, hard-code the list of the alphabets needed, around line 595 (moodle 1.9.8). Use the short name for language. Regional variants are normally not needed (i.e. fr_ca has the same alphabet list as fr).

$alphabets = 'en,ru,he';

Case #2

If there is a need to display different sets of initialbars in different courses on the same moodle site, then a new field will have to be added to the Course settings form, similar to the Settings I have proposed for my Glossary hack.

Demo

I have finished the hack for Case #1, with hard-coded $alphabets = 'en,ru,he'; and it can be viewed in action as usual on my Moodle test site, log in as teacher. Please report your remarks in this forum thread. If there is an interest, I will make the patch available in the Moodle Tracker.

Please go to my moodle test site (currently running moodle 1.9) http://rezeau.info/moodle and log in as teacher1, password Teacher1! Go to course "Demo" and in the People block click on Participants. In the list of participants you will find a few names in non-latin alpabets to try out the initialbars filtering.

Hope that helps,

Joseph

Attachment image00.jpg
Average of ratings: -
Picture of Développeurs Picture of Développeurs de plugins Picture of Moodleurs particulièrement utiles Picture of Testeurs Picture of Traducteurs

Hello Jérôme, et joyeuse "fête du travail".cool

Je comprends bien tes arguments pour "aider les autres à s'aider eux-mêmes", c'est la base de toute pédagogie.

Dans ce cas particulier, tu avais suggéré à "informaticienne constantinoise" de "demander directement et gentiment à l'auteur de ce thème le rajout de cette fonctionnalité". Mais il était - peut-être - difficile à "informaticienne constantinoise" de contacter l'auteur du thème (Mary Evans) en anglais et d'expliquer dans cette langue son problème.

En tant que "jovial travailleur" prêt à faire "tout et n'importe quoi" pour le plaisir d'aider mon prochain - et aussi parce qu'il s'agissait d'un problème que j'avais déjà rencontré - j'ai trouvé la solution. Mais j'ai également contacté Mary Evans pour lui proposer ma solution, qu'elle a aussitôt intégrée dans une nouvelle version de son thème. Donc tout est bien qui finit bien.

Joseph

PS.- "Si l'on nous demandait combien font 2+2 sur ce forum, quelle attitude adopterions-nous ?"

La réponse est 42 (mais tu n'as pas pas posé la bonne question)wink.