Hi there I have made a slight mention of the above issue in the past here. I have setup a views block to display the top 5 mostly converted currencies in my country and am hoping to find a way to have the values refresh to the current day without a manual conversion being done. Is there any way to accomplish this? Maybe a trigger upon cron run or something similar would be good. Please advise.
Regards
Comments
Comment #1
amateescu commentedYou can implement
hook_cron()in a custom module and callcurrency_api_convert()in there for each of your desired currencies.Comment #3
vensiresJust for the reference, I created a currency_profile module for use in my company's clients' profiles and since I needed daily updated information I also wrote the following function:
It may not be a solution completely ready to be included in the Currency Exchange core, but it sure did the work for me and may be a good start for other needing to implement this in their sites.