Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'd like to have feet and inches for the bmi calculation. The module modifications are simple. Are you planning to implement this?
Regards,
Julian Mancera
Comment | File | Size | Author |
---|---|---|---|
#3 | bmi.tar_.gz | 28.38 KB | julianmancera |
Comments
Comment #1
julianmancera CreditAttribution: julianmancera commentedBumping this issue
Comment #2
asifnoor CreditAttribution: asifnoor commentedYes definitely its a good add on. Will consider implementing this sometime soon. Right now, no plans of adding to this. If you are going to implement this in your project, please do send us a patch.
Thanks,
Asif
Comment #3
julianmancera CreditAttribution: julianmancera commentedHi Asif
I wasn't able to do the patch, starting with git, instead here is the compressed module, can you please make the patch for me?
Basically I created a new text field so user can input height feets and height inches.
We also need a javascript to hide/show the new text field for inches when the user selects that unit
Julian Mancera
Comment #4
John Lawter CreditAttribution: John Lawter commentedI just added a Drupal Sandbox project for Drupal 7 called BMI Add Ons. It uses the BMI Module as a dependency, and adds another BMI form geared towards users of the imperial measurement system (feet, inches). You can use the Quicktabs module to allow users to select either the imperial BMI Calculator or the metric BMI calculator,
In addition to that, BMI Add Ons provides the following additional tools in blocks for measuring health indicators and setting weight-loss goals:
https://www.drupal.org/sandbox/johnlawter/2761881