Date Popup Authored in action

Date Popup Authored provides a jQuery UI datepicker for the Authored on date field found on node submission forms.

This allows content editors to pick a human-understandable date and not have to type the exact date format of the default Authored on field.

Requirements

Drupal 6

  • Date 6.x-2.x
  • Date Popup, part of the Date module

Note that Date Popup has an additional requirement of jQuery UI.

Drupal 7

  • Drupal 7.0 or later. Pre-release versions (unstable, alpha, beta, release candidate) are not supported.
  • Date 2.0 or later
  • Date Popup, part of the Date module

Installation and configuration

Install as you would any other module (see handbook page Installing contributed modules if you need help).

You can change the behavior of the datepicker by going to the settings page for each content type.

Caveats

Since Date Popup Authored allows you to choose a date format that's less specific than the default date format Drupal uses for the Authored on field, it will insert default data if you use a more simplified date format.

For example, if the date format you've configured doesn't include a time, when the node is saved, the Authored on time will be set to 12:00AM. Similarly, if you don't include the ability to choose a month, the Authored on month will be set to January (i.e. month 1).

So, if you care about the time a post is authored, make sure you allow the user to set it in the date format. See installation for more information.

Drupal 8 and later

The functionality this module provides is being considered for core inclusion:

Because of this, there will be no Drupal 8 version.

To do

Acknowledgements

Date Popup Authored was inspired by the hacks provided by brice and Rob Loach in #471942: Use Date Popup on 'Authored on' field. It contains additional fixes to account for problems found in their solution as well as new configuration options.

Development notes

Project Information

Downloads