Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Theming all day or multi-day events is kind of a pain right now because there's no clear way to target specifically an all day or multi-day event in CSS. What is the best way to add classes for these? I'd be happy to create a patch for this if I knew where to start.
If not via a patch in this module, is there a clear way to change this from javascript or the theme's template.php? My problem is still that it's unclear how to identify that something is all day or multi-day. Any suggestions?
Comment | File | Size | Author |
---|---|---|---|
#2 | fullcalendar-add-allday-multiday-classes_2474871_2.patch | 706 bytes | davidneedham |
Comments
Comment #1
davidneedhamHere's a hack of a patch that I do not expect to ever be committed. It solves my problem until someone who knows a little more can implement this properly. In the meantime, I hope this serves as a good starting point for that person, or is a help to someone else who is stuck in my position.
Please note that this patch is explicitly referring to the system name of my date field. If you want to use the hack, you'll need to change that to match your field name.
Comment #2
davidneedhamRe-rolled against the latest dev and removed debugging code.