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

CommentFileSizeAuthor
#1 unitsapi-622622-2.patch2.27 KBBrandTim

Comments

BrandTim’s picture

Status: Active » Needs review
StatusFileSize
new2.27 KB

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

Hobbes-2’s picture

Yes, this is a good idea

raspberryman’s picture

Status: Needs review » Fixed

Commit http://drupal.org/cvs?commit=319106

Thanks, BrandTim! I tested it out with units.module and mvf.module, and things looked great!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.