Повідомлення, що надісла(ла)в Joseph Rézeau

Фото Core developers Фото Plugin developers Фото Testers Фото Translators

Am I correct to believe that the modules' own styles.php stylesheets are no longer taken into account in Moodle 2.0 ?

For core modules, such as assignment, feedback, scorm, etc. which have or should have their own styles defined in the Moodle Themes stylesheets, such styles.php should probably be removed, as they are no longer needed.

For 3rd-party modules, however, those styles.php stylesheet can be very useful, almost indispensable. Please take them into account in Moodle 2.0 or advise on replacement strategy.

Joseph

Фото Core developers Фото Plugin developers Фото Testers Фото Translators

Hi Mike and Tim,

In Moodle 2.0 dev (Build: 20100123) this throws an error:

Coding error detected, it must be fixed by a programmer: Invalid stylesheet parameter.

stylesheet address must not include site root!

was:

$currentcss = $CFG->wwwroot.'/mod/questionnaire/css/'.$this->survey->theme;

fixed to:

$currentcss = '/mod/questionnaire/css/'.$this->survey->theme;
$PAGE->requires->css($currentcss, true);

Joseph

Фото Core developers Фото Plugin developers Фото Testers Фото Translators
I do not think it would be a good idea to allow respondents to skip pages in a questionnaire. How could they know that they want to skip a page whose contents they have not yet seen? What about pages containing questions with a required answer? How many pages do you have in your questionnaires? How many questions?