Posts made by Urs Hunkler

Picture of Core developers

Hi Natalia,

very mysterious, as you say. And a quite difficult task to solve. The most likely possibility is any change on the theme folder or theme files due to:

  • an update
  • an admin having changed file/folder rights
  • you having changed/deleted any files

If you don't find the reason within a short time I recommend you newly install the basic theme and add the Chameleon engine again. When this fresh installed theme works you may copy your "user_styles.css" file from your old theme folder into the new one. If it then stops working you found the reason. If it works you can continue without any hassle.

I hope this helps
Urs

Der von Ralf Hilgenstock vorgestellte Block nutzt die ab Moodle 1.7 integrierte YUI JavaScript Library, die auch im Drag&Drop Kurs für Bewegung sorgt.

Martin Dougiamas ändert zur Zeit die Moodle Browserabfrage für diese Library. Damit wird dieser Block und andere auf YUI basierende Erweiterungen mit allen modernen Browsern funktionieren.

Moodle in English -> Themes -> why multiple css files? -> Re: why multiple css files?

by Urs Hunkler -
Picture of Core developers

Or the other way around.

Take any given theme and add the Chameleon engine. All interactively created changes are saved in the Chameleon CSS file.

You may add this file to your config.php like $THEME->standardsheets = array('styles_layout', 'chameleon'); and have an always working theme.

When the time comes that you want to finetune your theme you activate the Chameleon engine, click, change and save your optimizations within your browser and with direct feedback. After you are done you disable the Chameleon engine again and continue working with a normal Moodle theme.

I let Chameleon active during the theme creation process and work with Moodle in the new theme. Every time I discover some page areas that do not look ok I immediately correct them in the browser and without changing my tools. It's just one go with hardly any interruption.

You may not get the advantages when you read this. Try it and you will see smile

Moodle in English -> Themes -> why multiple css files? -> Re: why multiple css files?

by Urs Hunkler -
Picture of Core developers

Mauno, did you see that you can disable the Chameleon engine when you do not work on styling and use it like any other regular Moodle theme?

You may disable it with $THEME->chameleonenabled = false; in config.php.

This way you may not need to experiment in Chameleon and write the same CSS into another theme css file.

I do most projects completely with Chameleon and I am absolutely enthusiastic how comfortable the CSS work is.