By Yanko on Thursday, 23 January 2025
Replies 1
Likes 0
Views 14
Votes 0
Dear all,

I am using the flatcal_minical module on my website and have been approached with the issue, that it's possible to differentiate between categories of events like birthdays, meetings, miscellaneous. Thus i checked my css possibilities and hit a hard wall, as all events get classed as flatcal_busylink.

When checking the php overrides for /mod_jevents_cal/flat/calendar.php and the /mod_jevents_latest/geraint/latest.php, I've noticed that the latter fetches the category color and sets it as a border color.

$dst = "border-color:" . $dayEvent->bgcolor();

However there's a whole function behind it and my php skills are lacking, so I was wondering if anyone here could help me adapt this functionality for the flatcal_minical module.

Thank you guys in advance and best regards,

Yanko
In general the calendar module only checks to see if there are events available on a specific date

If you use the club themes (such as flat plus) it will show a tooltip with a list of the events on the day - this could be further styled with a template override which I could help you with to style with category or event colours.
·
1 day ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post