Posts made by Peter Ruthven-Stuart

Picture of Plugin developers

Hello,

I have searched the forums for 'feedbacktext', and specifically information on how to change the colour of the feedback text in quizzes. I found this posting:

http://moodle.org/mod/forum/discuss.php?d=29649

but the suggested change to a style sheet did not work. Any suggestions will be most welcome.

Here's what I have done so far:

I have added this code

.feedbacktext {
color: #ff6600;
}


to the 'styles_color.css' and to the 'styles_fonts.css' (both in the 'standard' theme directory). I also found a reference to '.feedbacktext' in the 'styles_layout.css' (also in the 'standard' theme directory):

/***
*** Modules: Quiz
***/

.feedbacktext {
display:block;
text-align:right;
}

which I changed to:

/***
*** Modules: Quiz
***/

.feedbacktext {
display:block;
text-align:right;
color:#ff6600;
}

However, the colour of the feedback has not yet been effected - it remains black.

Any suggestions you have will be most welcome.

I am using Moodle 1.5.2
and the standardblue theme, which refers to the 'standard' theme for all style sheets except 'gradients.css'.
Average of ratings: -
Picture of Plugin developers

Andrew,

I have a similar problem with adding some colour to the feedback text in quizzes. I did a search for 'feedbacktext', and found your reply. Most of the other messages concerned older version of Moodle where the change was made in the styles.php file.

However, I have tried doing what you suggested: adding this code

.feedbacktext {
  color: #ff6600;
}


to styles_color.css (in the 'standard' theme directory), but no luck. I've also tried adding the same code to 'styles_fonts.css' (in the 'standard' theme directory). I also found a reference to '.feedbacktext' in the 'styles_layout.css' (in the 'standard' theme directory):

/***
*** Modules: Quiz
***/

.feedbacktext {
display:block;
text-align:right;
}

which I changed to:

/***
 *** Modules: Quiz
 ***/

.feedbacktext {
  display:block;
  text-align:right;
  color:#ff6600;
}

However, the colour of the feedback has not yet been effected - it remains black.

Any suggestions you have will be most welcome.

I am using Moodle 1.5.2
and the standardblue theme, which refers to the 'standard' theme for all style sheets except 'gradients.css'.

Picture of Plugin developers
The HTML editor is not available in the feedback mode because the relevant script has not been written. I imagine it is possible, since in the Lesson module there are occasions when one can get multiple HTML editors in one screen.

My solution to this problem is:
  1. use a standalone HTML editor - e.g. Nvu or Composer - to write my feedback and copy and paste the code into the relevant feedback box, or
  2. use a Firefox / Mozilla extension called BBcode (go to www.mozilla.org). This little extension allows you to add html tags to highlited text within form field - i.e. feedback boxes. Very useful!
Hope this helps.
Picture of Plugin developers
Nikos,

You ask, "Can I import question in excel format?" The simple answer to this is, "no".

In order for Moodle to import questions it needs to 'understand' how the questions are written. At this point in time there is no script within moodle that describes the possible format of questions written with Excel.

Have a look at this description of the GIFT format:
http://moodle.org/help.php?module=quiz&file=formatgift.html

I must say, I'm not quite sure why you would want to write questions in Excel to be imported into Moodle. The GIFT format - questions written in a text file and formatted as in the above explanation - is proabably the best way to go if you want to write lots of questions offline and then upload them all at once.

Hope this answers your question.
Picture of Plugin developers
Urs,

Thank you for your help.

Your  rewritten 'styles.php' seems to be working. I guess the first time I tried, the orginal script was still saved on the server cache.

Anyway, I can now report that the timer floats in the following Mac browsers:
  • Firefox 1.0.7
  • Safari 1.3.1
  • Mozilla 1.7.6
Thanks again approve