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

CommentFileSizeAuthor
#3 bmi.tar_.gz28.38 KBjulianmancera
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

julianmancera’s picture

Bumping this issue

asifnoor’s picture

Status: Active » Postponed

Yes 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

julianmancera’s picture

FileSize
28.38 KB

Hi 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

John Lawter’s picture

Issue summary: View changes

I 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:

  • Basal Metabolic Rate (BMR) block (both imperial and metric)
  • Harris Benedict Formula block (applies to all users)
  • Body Fat Calculator block (both imperial and metric)
  • Waist to Hip Ratio Calculator block (both imperial and metric)

https://www.drupal.org/sandbox/johnlawter/2761881