Closed (fixed)
Project:
Units API
Version:
6.x-1.0-alpha1
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
11 Jan 2010 at 15:51 UTC
Updated:
2 Apr 2011 at 21:59 UTC
I need support to add units measures to unit api module, please let me know your comments
Comments
Comment #1
raspberryman commentedHeya jpvega_drupal,
You've got two options for adding units:
Comment #2
cookieinc commentedHey raspberryman,
Can you please quickly check my following code example, and if it's OK, what are your thoughts on including it in the documentation / project page in the section How To Add New Units? It might help other drupal newbies like myself.
Cheers, and thanks for the great module!
Create a new drupal module (tutorial) with the following function:
Comment #3
raspberryman commentedThat looks great! I added this to the project's homepage.
I also added kilopascals to the supported units: http://drupalcode.org/project/unitsapi.git/commitdiff/654bb05