Closed (duplicate)
Project:
Event
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 May 2006 at 18:16 UTC
Updated:
20 Mar 2007 at 09:21 UTC
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
Comment #1
karens commentedThe 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.
Comment #2
(not verified) commentedComment #3
csc4 commentedI 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.
Comment #4
WeRockYourWeb.com commentedI don't see the all day functionality (module) either. I'll see if I can come up with something...
Comment #5
kevinwalsh commentedsubscribing
Comment #6
karens commentedI 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.
Comment #7
aleko69 commentedI 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.
Comment #8
killes@www.drop.org commentedthe module isn't branched because nobody updated it for Drupal 5.
Comment #9
snufkin commentedaleko: 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.
Comment #10
killes@www.drop.org commentedhttp://drupal.org/node/64490
Comment #11
killes@www.drop.org commentedhttp://drupal.org/node/128923