You are here

README.txt in Datepicker 7

This module extends the date_popup module to provide a JQuery UI inline 
datepicker, rather than a popup out of a textfield. For an example of this see
http://jqueryui.com/demos/datepicker/#inline

There are 3 ways to use this module.

1. Using the Form API setting #type to datepicker, eg
   $form['date'] = array(
     '#type' => 'datepicker',
     '#date_format' => 'd/m/Y',
   );
   
2. Using the datepicker_block submodule, which provides a block that can be
   used to filter another view. This module will simply submit a $_GET variable
   to an internal Drupal path, for example submit might take you to
   http://example.com/events?date_filter[value][date]=2012-06-20
   
1. Using the Views filter handler for Date filters. You must enable the 
   Datepicker Views sub-module to use this.

File

README.txt
View source
  1. This module extends the date_popup module to provide a JQuery UI inline
  2. datepicker, rather than a popup out of a textfield. For an example of this see
  3. http://jqueryui.com/demos/datepicker/#inline
  4. There are 3 ways to use this module.
  5. 1. Using the Form API setting #type to datepicker, eg
  6. $form['date'] = array(
  7. '#type' => 'datepicker',
  8. '#date_format' => 'd/m/Y',
  9. );
  10. 2. Using the datepicker_block submodule, which provides a block that can be
  11. used to filter another view. This module will simply submit a $_GET variable
  12. to an internal Drupal path, for example submit might take you to
  13. http://example.com/events?date_filter[value][date]=2012-06-20
  14. 1. Using the Views filter handler for Date filters. You must enable the
  15. Datepicker Views sub-module to use this.