Hi,
What a top forum!
I have managed to change the colour of the text by adding the below code into the default.html and adding a color event however I would like to change the event background colour also of the day span for different events - how can this be done?
Thanks
mentalman
sub colorize {
my $details = shift;
$details->{'title'} = "<font color='" . $details->{'color'} . "'>" . $details->{'title'} . "</font>";
}
if ($VIEW eq "EVENT") {
colorize ($EVENT->{'details'});
}
elsif ($VIEW ne "Search") {
foreach $EVENT (@$EVENTS) {
colorize ($EVENT->{'details'});
}
}
else {
foreach $EVENT (@$SEARCH_RESULTS) {
colorize ($EVENT->{'details'});
}
}