Changing Course colourscheme

Changing Course colourscheme

by Wez Morris -
Number of replies: 3
Hi all, is there any way in moodle 1.6.3 for a teacher to change the colours of his/her course page?

I dont want to change the global theme, just the colours within the course itself.
Maybe via CSS in labels?

A fast answer would also be appreciated, I'm presenting it tomorrow

Thanks
Wez
Average of ratings: -
In reply to Wez Morris

Re: Changing Course colourscheme

by A. T. Wyatt -
Greetings, Wez!

While it is not possible for people to develop and upload a personal scheme (you can do that in other applications), instructors can set course themes in Moodle 1.6.3.

Two things have to happen:
1) Instructors permission to set course themes must be allowed by the administrator (go to the admin>variables page and look for "theme")
2) Instructors must set the theme in the course settings (it is down close to the bottom of the page).

Moodle comes with a number of themes, and you can create and upload your own if you have rights to the moodle/theme directory. As you already know, this whole forum deals with theme issues, and the theme database is available to contribute or download contributed themes.

I hope I read your question properly. If not, please try again!

atw



In reply to A. T. Wyatt

Re: Changing Course colourscheme

by Andrew Walker -
Hi,

If you create a copy of the chameleon theme in your themes folder and give it an appropriate name (I don't know, maybe theme_for_my_math_course or whatever seems sensible smile) if you then edit the file config.php in this theme and change the line,

$THEME->chameleonteachereditenabled = false;

to

$THEME->chameleonteachereditenabled = true;

now, if you set this theme as the course theme, the teacher can edit the theme from their browser and save any changes they make. The saved changes will be visible to all users on the course.

http://docs.moodle.org/en/Chameleon

Note that while you're editing using chameleon the pages will load quite a lot slower, so once you/the teacher are happy with the changes you can go back to the config.php file and change

$THEME->chameleonenabled = true;

to

$THEME->chameleonenabled = false;

now the theme should work just like s atandard static theme.