Unit Converter

Developer

w3care

3rd Party (Commercial)
Current Version: 1.0
Release Date: Mar 26, 2013

License Agreement

Buy Now!

$6.00
Qty:

EE Version Support

  • ExpressionEngine 2
  • ExpressionEngine 3

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Fieldtype

Tags

Unit Converter is a simple custom field type which enables to set different units and their values. It can be useful for setting different measurement units. It's almost same like mobile's Unit Converter app. For example, you are having a custom field for entering the value in kg and would like to populate the values in different weight measurement units. You can easily set the units from the field's setting and populate at front end for the same. You can find more details here at http://www.w3care.com/blog/detail/our-latest-launch-unit-converter-add-on-for-expressionengine/

Overview: This is simple field type which works on the basic definition of Unit Converter “Conversion of units is the conversion between different units of measurement for the same quantity, typically through multiplicative conversion factors”.
So the different units of measurement for the same quality can be set from the custom field’s setting.
You can understand the functioning of this field type with this example.
Let you would like to create a field for temperature and would like to populate the template in units like Celsius (C), Fahrenheit (F)
and Kelvin (K).
To achieve it, you either create 3 fields for all 3 units or create 1 field for a unit and put some mathematical calculation within the template to show the temperature in different units. The addon has been upgraded for the EE 3.0, EE 3.0.1, EE3.0.2 versions.
Installation: The download contains EE3 version.
ExpressionEngine 3.+
• Download and unzip unit converter
• Copy the system/user/addons/unit_convertor folder to your system/user/addons/unit_convertor directory
• Copy the system/user/language/english/ folder to your Copy the system/user/language/english/  directory
• In your Control Panel, go to Add-Ons Manager and click the Install-link in the unit convertor.

Adding a Unit Converter Field to the Publish Page
Once Unit Converter is installed, you can add a Unit Converter to the Publish Page by following these steps:
1. Go to your Custom Field settings
o EE3: Channel Manager → Field Group → Fields
2. Click the “Create New” link beside your field group
3. Give the new field a name and a label, and choose “Unit Converter ” in the Field Type dropdown
4. Configure the Unit Converter field to suit your needs

5. Click the Submit button



Template Tags:
Simple Primary Tag Pair
{length_in_meter}

Length in Millimeter: {length_in_mm}

{/length_in_meter}
Example :


Floating Primary Tag Pair:
{temprature_in_celsius decimals=“2” decimal_point=”.” thousands_separator=”,”}

Celsius to Rankine: {Celsius_to_Rankine}

{/temprature_in_celsius}
Example :


1 Celsius = 252.23 Fahrenheit

This entry was created March 26, 2013, 9:11 am.
This entry was last updated November 25, 2015, 11:37 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!