lisecb

UNIX name Owner Status
lisecb eZ Publish Legacy stable
Version Compatible with
N/A N/A
ECB Currency Converter extension for eZPublish

lisecb

ECB Currency Converter extension for eZPublish

Calculates the amount of EUR price in another currency.

Pricedata are fetched from the ECB and cached for 1 day (var/cache/):
http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

Template Operators:

{$price|exchange("CHF")} -> returns the current price.

{$price|rate("CHF")} -> returns the current rate.

View:

/lisecb/converter/(price)/100/(currency)/CHF
-> returns Json: {"price" : "100", "rate" : "1.232")}

Javascript Example:

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.