View Full Version : Category colour doesn't display
Toby Wallis
11-10-2005, 09:02 AM
Hi. I've set up a calendar which seems to work fine except that the category colour doesn't display in the listing. I know the categories are there because I can filter by them.
The URL is http://www.riponcathedral.org.uk/events.php. The categories are Services, Special Events and Concerts.
When I view them in the Events Manager screen they display no problem.
Any help would be appreciated.
Thanks -
===Toby===
Toby Wallis
11-10-2005, 09:07 AM
Sorry - sorted it. Didn't have the appropriate styles in the page!
Tippa
11-21-2005, 11:37 AM
I quess I have same problem but can't sort it out ( too tired to try). I can't get category colors working at all. Here is an example page: http://www.tampereultimate.net/calendar/
thx in adwance
/Tippa
Toby Wallis
11-21-2005, 01:36 PM
The way I sorted it out was to put the styles for the event categories in the head of my calendar display page, so:
<style type="text/css">
<!--
.s22 {background-color: #A4CAE6;}
.s21 {background-color: #FBF484;}
.s23 {background-color: #CCFF00;}
.s24 {background-color: #F2BFBF;}
.s29999 {background-image: url('http://www.mydomain.com/calendar/images/mixed1.gif')}
-->
</style>
The last one is only used on the monthly view when a particular day has more than one category of event in it. I use an image for this case but you could quite easily use a colour.
Hope this works for you too - give my love to Finland!
===Toby===
The upgrade went great. I really appreciate the new features Brian, Great Job!
But I'm having the same problems with colors not appearing on our main calendar. They show up in the box and on the setup screens but not on the Calendar?
I loked at Toby's Code but couldn't figure out how to implement his fix on my Old School Code (tables and no CSS)
http://www.rockymountainjazz.com/calendar/custom_calendar.php
My test event is called "color test" and its listed on 11/24
Thanks for all your help!
Brian
11-21-2005, 11:35 PM
When you upgraded, did you upgrade your calendar.php file too (in the main calendar directory)?
Hi Brian
I just did the Ioncube Auto installer. I just checked the directory and it does have a new version of Calendar.php
Brian
11-22-2005, 12:44 PM
Can you open a support ticket with the URL and login to your setup manager?
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.