Hi All.
My first post here and hoping this is useful. I just downloaded OPC a few days ago and noticed facilities for managing multiple currencies was still very basic so I thought I'll have a bash.
Still learning the ins and outs of the program so this is a bit of a hack.
I have edited currency.php and list.php which could be overwritten by upgrades.
Nevertheless, it works and hopefully the devs will take the idea up into the main product since it is a simple yet fundamental one. I thought of making it into a proper stand alone module but I want to see this on the same page that lists my currencies.
What it does is add a form to the currency page in admin/localisation which allows you to simply click and have all your currency exchange rates updated.
It uses Google, Yahoo, XE and Oanda and you select in which order it should check these four sites.
To install, just unpack the attached file in the OPC folder.
Tested on OPC V0.7.8
*****************
Version 1.0.0
13 November, 2008
*****************
ToDo:
1) Write user choice to DB so that they don't have to change order of servers each time.
2) Automate updates using PseudoCron.
3) Break association with default theme
Known Issues:
1) Only works if user has not changed the term 'Currency'. This means it does not work with other languages apart from English without editing source code.
2) Dabbles in core files
3) Uses tpl file from default template and thus will not function on other templates without copying relevant section from list.tpl.
Who is online
Users browsing this forum: No registered users and 1 guest