[drupal-devel] Date picker widget
Hi all, what work has gone on to provide a generic date-picker API? Ideally, there would be a form_date function (or the equivalent in the new form API) that outputs a widget to pick dates. Default would be something like the event module now has, and depending on the available theme functions and/or configuration parameters sent in to form_date, a cool JS widget like this: http://www.dynarch.com/demos/jscalendar/ I'd like to work on this but I don't want to duplicate efforts, so please let me know what is already being done. cheers, Robert
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16 Sep 2005, at 11:19 AM, Robert Douglass wrote:
I'd like to work on this but I don't want to duplicate efforts, so please let me know what is already being done.
The new API should allow you to intercept any form elements that are of type 'date' and replace them with your own element type. This would allow you to implement this entirely in a contrib module. - -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDKtyqgegMqdGlkasRAsOwAJ9KFxJHsM5Hg1aHRlLW02qk3qLVuwCdGMTi 2fMlVKS/vQm2hdt1ugZsBxY= =BmuM -----END PGP SIGNATURE-----
participants (2)
-
Adrian Rossouw -
Robert Douglass