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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davidneedham’s picture

Here'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.

davidneedham’s picture

Re-rolled against the latest dev and removed debugging code.