Datepicker block example

This module extends the date_popup module (from the date project) to provide a JQuery UI inline datepicker, rather than a popup out of a textfield. For an example of this see

There are 3 ways to use this module.

  1. Using the Views filter handler for Date filters.
  2. Using the Form API, by setting #type to "datepicker", eg
    $form['date'] = array(
      '#type' => 'datepicker',
      '#date_format' => 'd/m/Y',
  3. 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[value][date]=2012-06-20


  • Date Popup (from the date project)

Project information