Quantcast
Channel: Drupal Tutorial RSS
Viewing all articles
Browse latest Browse all 10

CCK create automatically updating year select field

$
0
0

When you want to create a list of years as a select field in CCK ranging from some set date in the past to the current date you have a couple of options. The first option would be to go through and manually enter every year from that date to present. This may be ok if you only are working with a date range of 3 or 4 years, but what if you want to list the years since the 1800s. Obviously that list would be painful to make, and what's worse you would have to make sure the site was updated every year by someone competent enough not to destroy the information.

read more


Viewing all articles
Browse latest Browse all 10

Trending Articles