| 3 |
* Compatible with Drupal 5.x |
* Compatible with Drupal 5.x |
| 4 |
* |
* |
| 5 |
* By Joe Turgeon [http://arithmetric.com] |
* By Joe Turgeon [http://arithmetric.com] |
| 6 |
* Version 2009/02/09 |
* Version 2009/03/06 |
| 7 |
* Licensed under the GPL version 2 |
* Licensed under the GPL version 2 |
| 8 |
*/ |
*/ |
| 9 |
|
|
| 10 |
The unique field module provides a way to require that specified fields |
The unique field module provides a way to require that specified fields |
| 11 |
or characteristics of a node are unique. This includes the node's title, |
or characteristics of a node are unique. This includes the node's title, |
| 12 |
author, and any CCK field. |
author, language, and any CCK field. |
| 13 |
|
|
| 14 |
Without this module, Drupal and CCK do not prevent multiple nodes from |
Without this module, Drupal and CCK do not prevent multiple nodes from |
| 15 |
having the same title or the same value in a given field. |
having the same title or the same value in a given field. |
| 16 |
|
|
| 17 |
For example, if you have a custom content type with a Date field and there |
For example, if you have a content type with a Date field and there |
| 18 |
should only be one node per date, you could use this module to prevent a |
should only be one node per date, you could use this module to prevent a |
| 19 |
node from being saved with a date already used in another node. |
node from being saved with a date already used in another node. |
| 20 |
|
|
| 34 |
due to a problem with the floating point datatype used. (However, this is |
due to a problem with the floating point datatype used. (However, this is |
| 35 |
fixed in the CCK 6.x release: http://drupal.org/node/109246) |
fixed in the CCK 6.x release: http://drupal.org/node/109246) |
| 36 |
|
|
| 37 |
Please send comments and suggestions to Joe Turgeon (detour) at |
For more information, see this module's page at: |
| 38 |
arithmetric @ gmail.com |
http://drupal.org/project/unique_field |