Posts made by Joseph Rézeau

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Marcus,
I suppose Ton is referring to the FORMULAS QUESTION TYPE. There have been so many discussions related to that question type recently on this Quiz forum that apparently some Moodlers are equating "question type" with the "formulas question type" and not even taking the trouble to mention it.wink
Average of ratings: Useful (1)
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Oliver,

I beg to disagree with your reply above.

1.- There is definitely a bug in the D. & D. activity, which can be easily fixed by that small change: in the D. & D. library css file for the .h5p-dragquestion .h5p-draggable elements, remove the text-align: center rule. And removing that rule will not break existing D. & D. activity instances as I'm hoping to demonstrate.

2.- When entering the text editor in H5P activities text is left-aligned by default (the Align Left button is selected by default). Users who want their text to be either centered or right-aligned need to click the relevant buttons on the toolbar. Unfortunately, because of the bug mentioned above, the text-align: center rule over-rides the align-left default behaviour of text. On the figure below, I have attached to a D. & D. display the extract from the content.json file for each draggable item.

As we can see, the draggable text which says "left-aligned (default) text" does not have a style rule, it's not needed because left alignment is the default behaviour. I have created 3 text draggables, and, as per the bug, the text which says "left-aligned (default) text" is displayed as centered.

3.- Now let's see what happens after simply removing the text-align: center rule from the D. & D. library css file for the .h5p-dragquestion .h5p-draggable elements.

The draggable text which the user had originally selected to be centered is still centered, ditto with the right-aligned text, and the default left-aligned text is indeed correctly displayed as left-aligned. Everybody is happy.smile

What you wrote "... removing that property would allow to change the positioning, but all existing content would automatically use left alignment" is not true.

Actually, two categories of users might be unhappy---or, rather, intrigued---after the fix.

a) those users who initially wanted their text left-aligned, saw it centered because of the bug, had resigned themselves to the buggy behaviour and now, after the fix, saw things displayed as they originally wished;

b) those users who did want their text centered, and at first clicked the Center toolbar button, then one day realized that this was not necessary since leaving the Align Left default button clicked gave the same result. It's impossible to know if those are in the majority. I am of opinion that it does not matter, as they can always edit their D. & D. and center their text if they wish to do so. And this minor inconvenience is balanced by the major advantage of making things work as they should.

Q.O.D.

Average of ratings: Useful (1)
Picture of Développeurs Picture of Développeurs de plugins Picture of Moodleurs particulièrement utiles Picture of Testeurs Picture of Traducteurs

Bonjour Daniel,

Tu ne précises pas quelle mise en page tu as choisi pour ton test : une question par page ou plusieurs questions ou toutes les questions sur une seule page. Je ne sais pas ce que tu appelles "la page principale". Merci de préciser.

En tout cas ce qu'il te faut c'est créer une pseudo-question de type Description, dans laquelle tu rédiges l'énoncé de ton problème. Puis, dans la même page, tu mets tes questions pour que les élèves donnent leurs réponses au problème énoncé dans la question "Description".

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hello,
You write "when you make a copy of a questionnaire ..."
1.- Which technique do you use to "copy" an existing questionnaire? Maybe backup/restore?
2.- Do you "copy" an existing questionnaire which users have already responded to?
3.- What type of questionnaire is it? private / public / template?
4. Do you "copy" it to put it in the same course / a different course / on your moodle site / another site?