مطالب مطرح شده توسط Joseph Rézeau

عکس Développeurs عکس Développeurs de plugins عکس Testeurs عکس Traducteurs

Ce n'est pas la consigne que j'ai sur mon Moodle 1.9. La consigne est "Veuillez choisir au moins une réponse."

Tu as peut-être une version ancienne ? Tu peux faire la mise à jour des fichiers de langue sur ton site Moodle.

Joseph

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Since you don't specify I'll suppose this is for Moodle 1.9.

Unlike the radion buttons, there is no option for horizontal alignement in the check boxes question type in Questionnaire. If you want all of your Questionnaire checkbox questions to be displayed horizontally, you'll have to modify the questionnaire/questiontypes/questiontypes.class.php file, line 1118, add the line in blue:

foreach ($this->choices as $id => $choice) {
echo ' <span class="radioelement">';

and towards line 1147, change :

echo $other_text.'<br />';
}
to:

echo $other_text;
}
echo '</span>';

Then, go to your current questionnaire theme (css) file and, at the end, add this css rule:

.radioelement {
float: left;
}

Hope that helps,

Joseph

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Hi Thomas,

Thanks for providing this 2.0 version. However, it's not working on my local moodle test site, using Moodle 2.0.1.

1.- After install, if I run cron, I get error message:  Processing module function flashcard_cron ...
Fatal error:  Call to a member function get_records() on a non-object in ...\moodle\mod\flashcard\lib.php on line 172

2.- When trying to view module, I get error message:

Warning: require_once(/home/zabuch/www/moodle2/config.php) [function.require-once]: failed to open stream: No such file or directory in ...\moodle\mod\flashcard\view.php on line 14

should be:

require_once("../../config.php");

of course!

3.- more errors (deprecated functions):

Notice: Undefined property: stdClass::$intro in ...\moodle\course\modedit.php on line 146
Notice: Undefined property: stdClass::$introformat in ...\moodle\course\modedit.php on line 147
function moodle_form::setHelpButton() is deprecated

Joseph

PS.- I have installed your version using GIT, from your github address, so can upgrade instantly if you make changes.

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Pierre, I suppose you mean:

The function factorial ( n ) is not actually recognized as a valid function to be used in the answer formula etc.

چشمک

عکس Core developers عکس Plugin developers عکس Testers عکس Translators

Your professor must have typed something like:

Decisions about ethical situations often present a ( n )

without spaces between the parentheses and the letter n, of course...

which gives:

Decisions about ethical situations often present a خیر