Event Pop-Up Window - BackGround & Text Colors - How to Change

Begonnen von WarGod, 10 Dezember 2005, 21:55:21

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

WarGod

Sorry I don't speak enough German so this may have been posted already.

I would like to know how to change the background and text colors used in the Java pop-up windows for the events.  I have tried configuring every file I could think without much success.  I am also getting different results in IE than Firefox.

I was able to find a work around for Firefox, but IE ignores the color I entered.  Here is what I did:
Edit Calendar\index.php
Around line #995:
changed
background-color: transparent
to
background-color: #DADADA (just picked a color to use as a test)

Firefox makes the change, but IE displays with a white background.  I am using Nuke-Evolution CMS (a PHP-Nuke fork).  Any ideas?

Thanks,
WarGod

Andi

Hi WarGod :)

this colors are defined in the file:
modules/Kalender/overlib/class.overlib.php

in this lines:if (!defined("_ol_fgcolor"))    define("_ol_fgcolor",$bgcolor1);
if (!defined("_ol_textcolor"))  define("_ol_textcolor",$textcolor1);
if (!defined("_ol_bgcolor"))    define("_ol_bgcolor",$bgcolor2);
if (!defined("_ol_capcolor"))   define("_ol_capcolor",$textcolor2);
if (!defined("_ol_closecolor")) define("_ol_closecolor",$textcolor2);


You can use the color variables from your theme.php (example: $bgcolor1) or you can use the html-Color values (don't forget the Quotation Marks)
schön´s Grüssle, Andi

WarGod

Thank you for the reply.  I was able to get it fixed just before you replied.  I also posted the way I fixed in the in the Nuke-Evolution Form if your interested http://www.nuke-evolution.com/modules.php?name=Forums&file=viewtopic&t=2250

I had to make another change other than just the class.overlip.php file to make IE and FireFox react the same. I think this is due to the fact that the index.php file in the Calendar module uses background-color:transparent, so no matter what I did, Firefox would also display a transparrent background.  I am not sure if this is how the module is designed or if it was modified to work with Nuke-Evolution, but I was able to get around it.

Thanks again.  I really like this product.  It is the best calendar module I have found yet.

WarGod