Thursday, 23 January 2025
  1 Replies
  19 Visits
0
Votes
Undo
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
Yanko set the post as Normal priority — 1 month ago
Yanko set the type of the post as  Technical — 1 month ago
2 days ago
·
#236445
0
Votes
Undo
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.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.