Posted by BrandTim on November 4, 2009 at 12:04am
| Project: | Units API |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The Units module is great for adding unit capabilities to CCK fields via MVF. Unfortunately, it does not ship with any unit definitions. UnitsAPI has many unit definitions. It would be great if the units defined in UnitsAPI were available to the Units module.
Tim Knittel
Comments
#1
A patch to accomplish the above feature request. It uses the function unitsapi_define_units() (a Units hook) and is fully documented.
(Submitted separately from the above feature request to create an issue number in order to name the patch according to Drupal standards.)
Tim Knittel
#2
Yes, this is a good idea
#3
Commit http://drupal.org/cvs?commit=319106
Thanks, BrandTim! I tested it out with units.module and mvf.module, and things looked great!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.