Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 change colors in calendar
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mtercek
New Member

56 Posts

Posted - 25 January 2005 :  16:09:29  Show Profile
I read through all 18 pages and found one help for changing colors which was to open the config file and put actual values. I would prefer to change the variable values. Which file is that in?

I am setting up my second forum using the css snitz so I can change to our company colors. That worked great. I then upgraded to the calendar (already did that with my old forum) but the colors weren't picked up.

Am I missing an include file or something?

tia

Marilyn

red1
Junior Member

355 Posts

Posted - 25 January 2005 :  23:20:15  Show Profile
cal_style.asp is a css file which has all the calendar colors
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 25 January 2005 :  23:34:31  Show Profile
BTW it uses the forum color variables but you can change it to actual color values, like change <%= strHeadCellColor %> to #0000FF or something
Go to Top of Page

mtercek
New Member

56 Posts

Posted - 26 January 2005 :  16:06:41  Show Profile
Red1 you are the best for helping me (and writing this calendar)

Could you look at this code that I changed the colors on? I still need to change the Title borders on the large and small calendar. They are blue.

thanks,

Marilyn

<%
'****************************************************************
' cal_style.asp
' EVENTS CALENDAR MOD
' for Snitz Forums 3.4.03
' by red1
'
' External stylesheet
'****************************************************************
%>
<!--#INCLUDE FILE="config.asp"-->

.cal_activetab, .cal_activeborder
{background-color: #666666; font: Bold 10pt <%= strDefaultFontFace %>; color:#E08109}
.cal_inactivetab
{background-color: #999999; font: 10pt <%= strDefaultFontFace %>; color:BLACK}

.cal_smallfont
{font: 11px/100% <%= strDefaultFontFace %>; color: <%= strForumFontColor %>}
.cal_listitem
{display: list-item; list-style: square inside; margin:0px; padding:0px; color: #666666}
.cal_indented
{margin-left: 16px; }

.cal_smallcalendar
{font: 11px/100% <%= strDefaultFontFace %>; color: #999999; background-color: #999999;}
.cal_smallcalendar td
{height:15px; text-align:center;}
.cal_smallcalendar a:link, .cal_smallcalendar a:visited
{color: <%= strForumLinkColor %>; text-decoration:none; }
.cal_smallcalendar a:hover
{color:<%= strForumHoverFontColor %>; text-decoration:<%= strForumHoverTextDecoration %>}
.cal_smallcalendar a:active
{color:<%= strForumHoverFontColor %>; text-decoration:<%= strForumActiveTextDecoration %>}

.cal_largecalendar td
{font: 11px/100% <%= strDefaultFontFace %>; background-color: #CCCCCC; vertical-align:top;}
.cal_largecalendar a:link, .cal_largecalendarcell a:visited
{color: <%= strForumLinkColor %>; text-decoration: none;}
.cal_largecalendar a:hover
{color:<%= strForumHoverFontColor %>; text-decoration:<%= strForumHoverTextDecoration %>}
.cal_largecalendar a:active
{color:#666666; text-decoration:<%= strForumActiveTextDecoration %>}

.cal_datedisabled
{color: <%= strAltForumCellColor %>;}
#cal_datetoday
{border-collapse: collapse; border: 2px solid black;}
.isevent a:link, .isevent a:visited
{color: ORANGE ; font-weight: bold;}
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 26 January 2005 :  22:46:18  Show Profile
looks fine. some of the colors are hard-coded in cal.asp and cal_functions.asp, so you may need to go through those files to set the colors. Look for occurences of bgcolor=something
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07