[kronolith] Colors in week- and dayview

Charles P. Wright cpwright at cpwright.com
Mon Oct 13 09:34:17 PDT 2003


Chrigi,
                                                                                                                                         
In the Week view of Kronolith 1.1 I was getting the default color, but the
correct one in Month view.  Unfortunately, Chuck wasn't able to reproduce 
the problem on his setup.
                                                                                                                                         
For me, changing line 173 from:
                                                                                                                                         
$categoryColor =
isset($colors[$event->getCalendar()][$event->getCategory()]) ?
$colors[$event->getCalendar()][$event->getCategory()] : '#ccccff';
                                                                                                                                         
To:
                                                                                                                                         
$categoryColor = isset($colors[$event->getCategory()]) ?
$colors[$event->getCategory()] :  '#ccccff';
                                                                                                                                         
Fixed the problem.

I haven't had much time to figure out what the root cause of the problem
is.

Hope this helps,
Charles

On Mon, 13 Oct 2003, Chrigi Hartmann wrote:

> Hello users
> 
> Sorry my english isn't very good cause I'm from Switzerland...
> 
> I installed Kronolith 1.1 and everything works fine. But is it possible to
> see the category-colors in the week view and in the day view? In the month
> view I see them.
> 
> Greets, Chrigi hartmann
> 
> 
> 




More information about the kronolith mailing list