Duration token for auto node titles

zbiniol - October 8, 2009 - 18:09
Project:Automatic Nodetitles
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:auto node title duration token
Description

If "to date" is filled for date type there should be [duration-years], [duration-months], [duration-days], [duration-hours], [duration-minutes], [duration-seconds] token for choose.

Example
CCK field trip_date, filled with 23/09/2009 to 24/09/2009 should return 1 [duration-day]

Title preset:
[name_trip_raw]-[field_trip-date] ([trip-trip-date-duration-day] day/days)

 
 

Drupal is a registered trademark of Dries Buytaert.