Rasprave započeo/la Joseph Rézeau

Slika Développeurs Slika Développeurs de plugins Slika Moodleurs particulièrement utiles Slika Testeurs Slika Traducteurs
Bonjour à tous les utilisateurs du module Questionnaire...

J'ai passé quelques jours à faire un nombre important de petites modifications dans le module Questionnaire pour qu'il puisse être validé en tant que XHTML 1.0 Strict. Ce fut laborieux mais instructif. En cours de route j'ai éprouvé le besoin de quelques modifications dans la façon dont ce module permet (ou non) de visualiser les questions de l'ensemble des participants.

situation actuelle

On peut paramétrer un questionnaire pour que l'étudiant puisse voir ou non ses propres réponses. Mais rien ne lui permet de voir les réponses des autres étudiants, seul l'enseignant peut voir toutes les réponses, soit sous forme de tableaux statistiques, soit une par une.

modifications proposées

Qui peut voir les réponses ?

Vous pouvez paramétrer si les étudiants auront le droit de voir les réponses de leurs camarades (tableau statistique général).

Les étudiants peuvent voir toutes les réponses:
  1. Jamais = par défaut seuls les enseignants peuvent voir les réponses de tous les étudiants.
  2. Après avoir répondu au questionnaire = Les étudiants pourront voir les réponses des autres étudiants après avoir répondu au questionnaire (à condition que ce questionnaire ait été paramétré à "répondre une fois seulement").
  3. Après la fermeture du questionnaire
Notez que les étudiants peuvent toujours voir leurs propres réponses. Je ne vois pas pourquoi on devrait les en empêcher.

Avant de déposer ces changements par CVS dans contrib, j'aimerais avoir votre avis. Vous pouvez tester comme d'habitude sur mon site de test http://rezeau.info/moodle. Connectez-vous comme teacher1, mot de passe teacher1. Créez un questionnaire ou utilisez-en un existant, faites quelques modifs, répondez-y comme étudiant, connectez-vous comme étudiant etc.

Merci de vos commentaires,

Joseph

Slika Core developers Slika Particularly helpful Moodlers Slika Plugin developers Slika Testers Slika Translators

Hello everyone,

I have been spending "a few" days making a fairly large number of changes to the Questionnaire module so that it will validate against XHTML 1.0 Strict validator. That was very boring work but instructive... As I was doing this, and testing and re-testing the module, I decided to change the way that students can see their own and other respondents' responses.

Present situation

Questionnaires can be set so that 1) only teachers can view a) their own and b) their students' responses. Questionnaires can also be set so that students can view their own responses. However, there is no setting to allow students to see all the other students' responses (i.e. the statistics page).

Proposed changes

You can specify who can see the responses of all respondents to submitted questionnaires (general statistics tables).
Students can view ALL responses ->

  1. Never = by default, only teachers of the owning course can see all questionnaire submitted responses.
  2. After answering the questionnaire This allows students to see all responses after answering a questionnaire (the questionnaire must be set to respond once only) If a questionnaire is set to respond more than once, then students cannot see all responses unless you use the next option (when closed).
  3. After answering the questionnaire is closed.

Please note that students can always see their own responses. I see no reason why this should not be so.

Before committing those changes to CVS I'd be interested to hear opinions from the Questionnaire users. You are welcome to try out these proposed changes on my test site as usual. Log in as teacher1 password teacher1. Create your own questionnaires or use an existing one. Make some changes, log in as student and check what happens. Because the questionnaire module is still not "roles-aware", do not try to Switch role to student; go to Participants list, click on a student's name and log in as.

Looking forward to your comments,

Joseph

PS.- I will commit all the WC3 XTHML strict validation modifications and the view responses modifications at the same time, later this month.

Slika Core developers Slika Particularly helpful Moodlers Slika Plugin developers Slika Testers Slika Translators

Hello and a Happy New Year to all moodle developers!

I have been spending a few days of my Xmas holidays validating the Questionnaire module against XHTML 1.0 Strict. I am left with a few validation errors located not in that module itself but in other Moodle files. I am seeking advice on the following.

  1. Where should XHTML 1.0 Strict validation errors be discussed: in this General developer forum or in the Accessibility forum?
  2. When reported in the bug tracker, which Component label should be used: Accessibility?
  3. Should these errors be systematically reported?
  4. Should they be reported as bugs*** or improvements?
  5. Which priority should be selected?

*** The bug tracker documentation says:

- Bugs are classified as 1 of the following:

  • Bug - A problem which impairs or prevents Moodle from functioning correctly.
  • Improvement - An enhancement to an existing Moodle feature.

XHTML 1.0 Strict validation errors do not "prevent Moodle from functioning correctly". Should they be entered as Improvements, then?

All the best,

Joseph

Moodle in English -> Glossary -> Export selected Glossary entries to file

napisao/la Joseph Rézeau -
Slika Core developers Slika Particularly helpful Moodlers Slika Plugin developers Slika Testers Slika Translators

Hi everybody!

In a glossary, it is possible to display a selection of articles belonging to a category; or in alphabetic order by selecting all articles beginning by one letter; or using the Search or Search full text facility. Then, from the display screen, one can click on the Printer icon to print the selected articles.

One would expect the same to be true for the Export entries facility. Unfortunately, whichever selected articles are displayed on the Glossary page, Export entries will always export ALL entries from the current Glossary!

I am attaching PATCH files against current version 1.8.3 for mod/glossary export.php, exportfile.php, lib.php and view.php. These patches enable the user to do all kind of selection of articles and to export to file only those articles which have been selected and are displayed.

It goes even further than the Print facility, as articles selected and displayed through either the Search or Search full text facility can be exported to file.

This new facility can be tested on my moodle test site: http://rezeau.info/moodle. Log in as teacher1, password teacher1, go to the Questionnaire module Demo course and experiment with My Test Glossary.

If there is enough interest in this little hack I hope the Glossary maintainer will accept to commit it to current Glossary files in moodle regular distribution. Please vote for MDL-12653.

Joseph

PS- Attached zip file contains both complete hacked files and patches. Please use with care, on a test site and report any problems here.