I would LOVE to see 2 additions to this great, great module:

1. Add a Javascript\DHTML calendar control for selecting dates (when creating or editing events)
2. Add a checkbox (that you can turn on by default) to create an 'All Day Event'. This could simply set the time fields to 12am-11:59pm

Again, I love this module, but I think it needs a lot of work in terms of UI. If I get the time, I'll start working on a patch myself. Both of these should be pretty simple additions.

Thanks!

B

Comments

karens’s picture

Status: Active » Fixed

The jscalendar capability is addressed at http://drupal.org/node/48401. There is already an optional module for all day events inside the events module -- you have to enable it on your modules page. I am going to mark this fixed, but you can re-open if you don't think it is.

Anonymous’s picture

Status: Fixed » Closed (fixed)
csc4’s picture

Status: Closed (fixed) » Active

I have a fresh download of 4.7.x-1.x-dev and can't find the all day event module and don't appear to have it listed in the modules listing either? Could you please point me in the right direction? Thanks.

WeRockYourWeb.com’s picture

I don't see the all day functionality (module) either. I'll see if I can come up with something...

kevinwalsh’s picture

Title: Javascript calendar control and all day events » all day event module

subscribing

karens’s picture

Title: all day event module » all day event module not branched

I took a look and the all day module has not been branched, which is why you're not seeing it. It exists only in HEAD. I don't know what the plans are for it, but you're right, it's no longer in the tarball.

So what's needed is for someone to go in and get the code up to date and branch it. There's code there (it's in the event/contrib folder in cvs), so no need to start from scratch. I won't be able to do it, but maybe someone who needs this can follow up and get a patch or two (for 4.7 and 5.x) ready to review.

aleko69’s picture

I would like some special handling for all day events. For example, in the month or week view I want to display such events without any start/end timestamp. In the "upcoming events" view, I would like to put "all day" next to the event.

Would it be easier and more straight forward to introduce a new field in the {event} table that would tell whether this is an all day event or not? No javascript would be needed, just a checkbox. And it would be easier to distinguish such events from the regular ones when writing themes.

killes@www.drop.org’s picture

the module isn't branched because nobody updated it for Drupal 5.

snufkin’s picture

aleko: a bit of js would be required, because you probably want to hide the hour and minute selector forms. but i definitely like the idea, and will try to implement it.

For 5.1 I made a patch, but it is not yet reviewed, use at your own risk. There is a cosmetic issue still: the dash after the day selector remains after the hour/minute selectors are hidden. Probably a small patch on event.module would solve it. For 4.7 you can use the HEAD version, so far it works for me.

killes@www.drop.org’s picture

Status: Active » Closed (duplicate)
killes@www.drop.org’s picture