Closed (outdated)
Project:
Event
Version:
6.x-2.x-dev
Component:
API
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 00:37 UTC
Updated:
13 Apr 2018 at 21:01 UTC
Jump to comment: Most recent
Comments
Comment #1
killes@www.drop.org commentedI doubt that will work.
What kind of layout do you want for the date selectors?
Comment #2
stodge commentedI'm not sure - I would prefer an API so I can control the rendering of the widgets on the form and the data when viewing my node. The idea of "one size fits all" is great but I'm the exception. :)
Comment #3
killes@www.drop.org commentedI think you probably want to use the date module. It has the flexibility that event does deliberately not offer.
Comment #4
stodge commentedOne thing I want to do is programmatically set whether an event for a given content type has times or an end date. Rather than force the user to make extra mouse clicks. So, I have a content type "Milestone" that doesn't require and end date or time. I want my module to disable the end date and times instead of expecting the user to do it.
Thanks
Comment #5
killes@www.drop.org commentedYou can do this through hook_form_alter, I think.
Comment #6
stodge commentedAh good point. Thanks.
Comment #7
killes@www.drop.org commentedCan we mark this fixed, then?
Comment #8
japerryEvent for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.