projects / org / ezpublishlegacy / lisecb
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
lisecb | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
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: