Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Try adding this to one of your current theme's CSS files:

#mod-glossary-showentry p[align="right"] {
display:none;
}
#mod-glossary-showentry .entrylowersection,
#mod-glossary-showentry .navbar {
display: none;
}

I do this in my own orangechoc theme, and the above hack is explained in the documentation.

Joseph

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi, Urs and David,

David > Actually, as an information designer, it's much easier for me to work with layout, font and colour in the same file.

Same for me. First thing I did when I started to build my own theme was to bring all CSS rules into one unique file. When you re-design the look of an object you need to have font, color and layout available in the same place, not scattered over 3 or 4 files.

Urs > When you work with three files, you may keep the styles_layout.css from standard. With this file you are sure, that your theme will not break completely after a Moodle update. This technique has several times proven to be useful.

You are quite right, the styles_layout.css file has to refer to standard theme to avoid problems when standard theme is significantly re-designed (as happened between 1.5 and 1.6).

Well, may I suggest a solution "in-between", which I am using at the moment:

  • in your own theme, if you prefer working that way, put all the rules into one unique CSS file
  • in your own theme's config.php file, make sure you refer to the standard theme's styles_layout.css file:
$THEME->standardsheets = array('styles_layout');

Hope that helps,

Joseph

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Matt,

That's easy. Example scenario: In one test course I have 1 teacher and 2 students Jo Rézeau and John Doe. Both students take Quiz A. Then John Doe is unenrolled from the course. When teacher views Quiz A, it says : 2 Students have made 2 attempts, but on the next screen only Jo Rézeau is displayed. In the dropdown list at the bottom, click to display Show all attempts instead of default Show all students. Click Go button... John Doe's attempt re-appears.big grin Select it and delete. Et voila!

Joseph

Picture of Développeurs Picture of Développeurs de plugins Picture of Testeurs Picture of Traducteurs
Bonjour,
Dans le fichier de langue française quiz.php, je propose de remplacer:
$string['gradingdetailsadjustment'] = 'Tenant compte des pénalités précédente, cela donne <strong>$a->cur/$a->max</strong>. ';
par
$string['gradingdetailsadjustment'] = 'En tenant compte des pénalités précédentes, cela donne <strong>$a->cur/$a->max</strong>. ';
Merci,
Joseph
Average of ratings: -