Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues
Author Message
toppercharlie
New Member
New Member


Joined: Mar 06, 2007
Posts: 7

PostPosted: Thu Mar 15, 2007 3:35 pm Reply with quote

Whith WYSIWYG I can change the size of fonts or color.That's working.
But when I want to change also the color , he changes the color but resizes
the font to the default size.
It seems that I cannot use color and font size at the same time.
When I change it , he shows it good in the example ! when I submit , it resize it to default size. STRANGE

anyone else ?

p.s I'm using the RavenNuke_v2.10.00 with the integrated WYSIWYG editor
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Thu Mar 15, 2007 8:34 pm Reply with quote

That is strange, since the theme often has a CSS that controls font size. You might try setting up classes in the css file, and specifying them in the WYSIWYG editor.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
toppercharlie
PostPosted: Fri Mar 16, 2007 8:44 am Reply with quote

I have tried with another theme.Problem stay's the same.
Does someone els has this problem also ?
It's a clean install.

Kguske ,
What doe you mean with setting up classes in the css file?
I'm not so very good with PHP nuke!

thx
 
toppercharlie
PostPosted: Sun Mar 18, 2007 12:10 pm Reply with quote

Nobody a solution ?
Can someone check it on his site ?

I have reinstalled complete and problem stays !
 
jaiib
New Member
New Member


Joined: Apr 06, 2007
Posts: 11
Location: India

PostPosted: Sat Apr 07, 2007 12:44 pm Reply with quote

Dear Sir,

Change the Color Here Like


if (isset($gfx)){
switch($gfx) {

case "gfx":
$datekey = date("F j");
$rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 7);
$ThemeSel = get_theme();
if (file_exists("themes/".$ThemeSel."/images/code_bg.jpg")) {
$image = ImageCreateFromJPEG("themes/".$ThemeSel."/images/code_bg.jpg");
} else {
$image = ImageCreateFromJPEG("images/code_bg.jpg");
}
$text_color = ImageColorAllocate($image, 0, 64, 0);
Header("Content-type: image/jpeg");
ImageString ($image, 5, 12, 2, $code, $text_color);
ImageJPEG($image, '', 75);
ImageDestroy($image);
die();
break;

0,64,0 is a Green Color

Thanks

_________________
Best Regards


JAIIB TEAM 
View user's profile Send private message Visit poster's website
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Sat Apr 07, 2007 1:55 pm Reply with quote

In this thread:

Only registered users can see links on this board! Get registered or login!

we arrived at a suggested patch for the font size issue, at least in one theme. You might be able to apply that suggestion to the color issue too. I think the basic problem is that the styles from the theme's css file are overriding the font codes that the wysiwyg editor puts in.

What theme is this happening in ... or more than one?
 
View user's profile Send private message Visit poster's website
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 712
Location: Vancouver Island

PostPosted: Sat Apr 07, 2007 10:50 pm Reply with quote

I find that commenting out or deleting the FONT line in the style.css seems to clear up just about everything. Smile

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Sun Apr 08, 2007 10:17 am Reply with quote

With the XHTML changes that we made, I had removed many FONT tags that were completely unnecessary (and causing compliance issues) and replaced them with DIV or SPAN tags depending upon the situation (DIV if block level HTML could be inside, SPAN if on in-line HTML could be inside).

Over time, if we continue to improve upon RN with more enhancements, we could continue this work to get rid of font tags altogether in the core RN modules/blocks/admin.

I found that the primary class being used throughout the modules is the "content" class, if that helps here at all.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©