| 1 |
$Id: README.txt,v 1.1 2008/03/22 01:05:44 jpetso Exp $
|
| 2 |
|
| 3 |
Duration - A form element and CCK field for entering time durations.
|
| 4 |
|
| 5 |
|
| 6 |
SHORT DESCRIPTION
|
| 7 |
-----------------
|
| 8 |
Duration is a set of three modules, each for a different target audience:
|
| 9 |
|
| 10 |
* duration_api provides a reusable Duration class and formatter functions
|
| 11 |
for developers who need to do internal date calculations and conversions.
|
| 12 |
|
| 13 |
* duration_element depends on duration_api and provides a set of
|
| 14 |
form elements for entering durations, to be used in custom forms.
|
| 15 |
|
| 16 |
* duration depends on both of the above and assembles the pieces into
|
| 17 |
a CCK field, not requiring a single line of code to use it.
|
| 18 |
|
| 19 |
In order to add a new CCK field, go to the "Add fields" form and select
|
| 20 |
any widget for the "Duration" field type. Configure, use, rejoice.
|
| 21 |
|
| 22 |
Developers can find the API documentation inside the module files,
|
| 23 |
examples for using the form elements are provided in duration.example.
|
| 24 |
|
| 25 |
|
| 26 |
AUTHOR & MAINTAINER
|
| 27 |
-------------------
|
| 28 |
Jakob Petsovits <jpetso at gmx DOT at>
|
| 29 |
|
| 30 |
|
| 31 |
THANKS TO
|
| 32 |
---------
|
| 33 |
Thomas Miedema (http://drupal.org/user/145877 - thomie) for providing
|
| 34 |
his unpublished cck_duration module. No actual code was taken from that
|
| 35 |
module, but it contains a number of good ideas that changed this module
|
| 36 |
to the better.
|