Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Currency field symbol change to £


Reply

3 Posts   741 Views

Avatar
stevanovich

7 July 2011 at 2:31am Community Member, 60 Posts

Okay so what is going on? I am NOT running the eccommerce module but am using a currencyfield using the dataobjectmanager which is fine. But I want to change $ dollar symbol to the £ pound symbol. I have added this to the config file Currency::setCurrencySymbol('£'); I have changed and hardcoded the currency.php in sapphire to &apound; But it still appearing as a dollar aaaahhhhhh any little help would be apprieciated. I have googled this but nothing has cropped up.

Latest version of SS

Avatar
BenWu

19 April 2012 at 5:15am Community Member, 90 Posts

I would like to know as well.

Avatar
swaiba

19 April 2012 at 8:43pm Forum Moderator, 1796 Posts

Have you used a basic ModelAdmin approach? Does this only appear with DataObjectManager? If so please ask in that area of the forum...