I have a site where the user's have multiple cck date fields that HAVE to have a time specified. By default, empty time fields are interpreted with the all day option. Other than using a custom validation handler for the cck_type_node_form enforcing this requirement, is there some other way to make the date module not allow the all day option?
Thanks for any help or suggestions.
Comments
Comment #1
arlinsandbulte commentedComment #2
bricef commentedI think we can bring the google calendar method : Add a checkbox all day that will hide and erase times input.
What do u think?
Comment #3
Mindy commentedI have spent hours trying to stop the "(All day)" from appearing. Is there an easy way to do this in the settings?
Comment #4
arlinsandbulte commentedflapsjack & bricef: Try the Date Tweaks module. It might do what you want.
Mindy: You can use a theme function to suppress 'All Day' if you wish.
Add this to you theme's template.php file:
Also, see this issue for more information & a patch in #24 for the latest version of Date:
#1017216: custom date format without time shows "all day"