Moodle 2.0.2 - Boxxie theme issue with colours

Moodle 2.0.2 - Boxxie theme issue with colours

Ivan Gashtilov發表於
Number of replies: 11

Hey guys,
I have posted this issue in the General Problems section but did not get any response. I figured that I must have posted it in the wrong section, and here it is now.
So I have good experience with moodle before the 2.x release. I have recently started looking at it on my testing domain, and i know that so many things are changed to imporve usability and such, but i struggle to find where to modify the colours.
I am using a theme called BOXXIE, and I want to change the background colours and the text colours. So far - in vain! what I tried so far is:
Themes --> Boxxie --> style --> core.css - i have changed virtually all the colours here. After re-uploading it - nothing changed so I figured that it inherits a colour from somewhere else. I tried to change the Standard theme's css for the colours, because in the versions prior to 2.x a lot of behaviour was inherited from that particular theme settings, but that did not bring any result either. Then I tried the Base them as well - nothing happened.
So please guys, help me out here  i need to change the colours and I am really hitting a rock here
Thanks

評比平均分數: -
In reply to Ivan Gashtilov

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Mary Evans發表於

Hi Ivan

you need to read Themes 2.0 FAQ then all will become clear!!!

But basically your problem is the Moodle 'cache', you need to purge it.

Site Administration > Appearance > Themes > Theme settings where you need to enable Theme Designer Mode. Then save and return to Home page and all changes should be visible after Ctrl + F5 to refresh browser.

We find Firefox to be the best for Moodle themeing and also the Add-on Firebug

HTH

And glad you found the Theme's Forum

Mary

評比平均分數:Useful (1)
In reply to Mary Evans

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Ivan Gashtilov發表於

Mary, you are a star!!! Big time!!!

I lost two days of banging my head, and now everything is perfect!

Thank you so so so much 微笑

In reply to Ivan Gashtilov

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Mary Evans發表於

Two days is a looooong time...but I've been there,  done that too! LOL

It is so difficult learning Moodle 2 themes without reading about it first. I missed that about the Theme designer Mode myself, now I hardly turn it off on my test server.

Another way to Purge cache, if you prefer to leave Designer Mode in the OFF setting, is to use this option instead. This one clears ALL cache not just the themes cache.

Site Administration > Development > Purge ALL Cache

Make life much easier when makeing changes other than in themes.

Glad you got it all sorted out!

Mary

In reply to Mary Evans

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Ivan Gashtilov發表於

Oh, nice 微笑 i think i am going to go with the second method 微笑

one more thing i gotta ask though - you know how every theme has the moodle logo as a theme - how can i change that with my own one? On the previous moodle, it was just a matter of putting it in the html, but now, when i look for it in the general.php file, i could not find anything about the footer? Any idea?

Thanks again 微笑

In reply to Mary Evans

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Glenn Sisson發表於

Hi Mary,

I am having similar problems. Made a simple change to the core.css of our custom theme but the changes wouldn't show on screen. Tested with firebug, changed where correct code.

Turned on designer mode as described above and it show the changes as desired. Great. I then purged all cache and hard refreshed the browser (Ctrl F5) from the home page.

Now want to turn designer mode off as this is our production site (soon). On saving the change to the setting, old problem reaappears.

Seems still to be presenting an old cached version.

Any thoughts?

In reply to Glenn Sisson

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Mary Evans發表於

Try purging all cache with Theme Designer Mode off.

You need to clear all your browser cache too. Ctrl +F5 only forces a reload of images and stuff, but will still use old cached css files.

You could try clearning Moodledata cache but I think Purge All does that anyway.

Mary

In reply to Mary Evans

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Glenn Sisson發表於

Hi Mary,

Have now tried all of the above with no effect. May get the server admin to clear the cache from their end.

In reply to Glenn Sisson

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Ivan Gashtilov發表於

Hi Glenn,

Why dont you try to clear your cache and temp folders of your computer using a program called CCleaner? It is free to download from http://www.piriform.com/ccleaner and it is very easy to use. I use that software to purge my cache for moodle, and in general too. It works very good.

Just a suggestion for you to avoid the hussle of going through admins.

Ivan

In reply to Ivan Gashtilov

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Mary Evans發表於

Hi Ivan,

Did you get the Logo to work in your theme eventually?

Mary

In reply to Mary Evans

Re: Moodle 2.0.2 - Boxxie theme issue with colours

Ivan Gashtilov發表於

Hi Mary,

Yes, my logo and the whole site are working now perfectly 微笑

Thanks for your help!