Help us to help you!

Our aim is to offer you the best service possible, to do this we need to know: (1.) Joomla! version (2.) Server type (3.) Editor version (4.) Browsers type & Version and any (5.) Error messages you may have, for help in finding this information please - click here…We would also invite you to read our form rules before posting - read more…

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Changing background color
#759
Changing background color 1 Year, 5 Months ago Karma: 1
Hi,

I have a website with a dark background color and white text.

The editor read the template.css correctly except the body background, so it showed white text on white background which made it imposible for me to create articles correctly.

I tryed using a custom css, modify the templates/system/css/system.css to include the background color in the text are, etc., but nothing worked.

Then i started searching for white and ffffff inside the jckeditor folder and then i got lucky.

This is how it's done:

1. Open the file helper.php located in plugins/editors/jckeditor/includes/ckeditor/htmlwriter/javascript

2. Look for the line with the code: $bgcolor = $params->get( 'bgcolor','#ffffff');

3. Replace #ffffff with your background color.
puertoagp
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/27 18:17 By puertoagp.
The administrator has disabled public write access.
 
#912
Re:Changing background color 1 Year, 4 Months ago Karma: 0
Hi puertoagp,

I've tried your little trick but with no success unfortunately... something weird happens.

Like you said, I've located the helper.php file in plugins/editors/jckeditor/includes/ckeditor/htmlwriter/javascript and changed the line:
$bgcolor = $params->get( 'bgcolor','#ffffff');
to
$bgcolor = $params->get( 'bgcolor','#3F3631');

and what happens is that the JCK Editor doesn't load no more... even if I change it back to #ffffff I get a blank page. To fix it, I must uninstall completely and reinstall JCK.

Am I missing something here?

Thanks for your help... I really need to change background color and it's "supposed" to be implemented in the next version but it's been like 2½ months since I posted the request and still no updates. My clients are not really happy about the situation at the moment because they have a dark website template with light Fonts color.

Please help!!!
Denis L.
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/18 18:40 By Denis L..
The administrator has disabled public write access.
 
#916
Re:Changing background color 1 Year, 4 Months ago Karma: 32
awills
Administrator
Posts: 484
graphgraph
User Offline Click here to see the profile of this user
Gender: Male webxsolution.com Location: London
Last Edit: 2010/09/20 10:03 By awills.

Always clear your browser cache(CTRL+SHFT+DEL for FF/IE and Chrome users)
The administrator has disabled public write access.
 
#924
Re:Changing background color 1 Year, 4 Months ago Karma: 1
Hi Denis L.

I don't know if the link and instructions provided by awills worked for you.

I'm using version 3.1.1 with Joomla 1.5.20 and it works great, i'd suggest you test it on a clean install on a local computer and work your way from there!
puertoagp
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/22 00:43 By puertoagp.
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Paul.F