Page 1 of 1

[rz] Display Exchange Rate

Posted: Mon Dec 15, 2014 8:44 pm
by [RZ]
[rz] Display Exchange Rate v1.0

This extension displays the currency exchange rate based on the up-to-date information from YAHOO! FINANCE.
Improve your eCommerce applications in a snap and with ease.

- Updates itself every selectable minutes.
- Automatic number format.
- Selectable decimal places.
- Selectable font, color, size and style.
- Standalone access for custom applications.
- Cross-browser, cross-platform and backward compatible.


HTML 4.01 Transitional
W3C compliant


DEMO


How to use?

1. Drag and drop the extension in the workspace.
2. Select the "from-to" currencies to convert.
3. Optionally, you can setup the font, size, style and the auto-update cycle.
4. Preview or publish.

Enjoy!


* Advanced use:

You can build your own applications updating objects with up-to-date information, simply calling this function:

_exchange_currency_rate('object_id', 'from_currency_code', 'to_currency_code', amount, optional: decimals, optional: update_minutes);

- The parameter "object_id" is the object id where the result will be displayed,
it can be a text object or an input box.
- The "currency_code" is a 3-character word that identifies the currency name.
More information here: http://en.wikipedia.org/wiki/ISO_4217
- The parameter "amount" is the amount to be converted to the selected currency.
- The optional parameter "decimals" is the number of decimals that the amount will have
after the currency conversion process.
- The optional parameter "update-minutes" is the cycle in minutes that the information is
updated itself.

Re: [rz] Display Exchange Rate

Posted: Mon Dec 15, 2014 9:22 pm
by zinc
Well done RZ! You always think of this nifty little things :D

Re: [rz] Display Exchange Rate

Posted: Mon Dec 15, 2014 9:25 pm
by [RZ]
thank you for your kind words! :D