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, Ed, biapar, Willr, Ingo, swaiba

Where does getCountryDropDown() come from?

Go to End

3 Posts   1688 Views


Community Member, 197 Posts

25 July 2009 at 5:07am

Where is the list of Countries? How can I add a country or change a country's name?



Forum Moderator, 5523 Posts

25 July 2009 at 11:33pm

In GeoIp.php there is a protected static $iso_3166_countryCodes which defines the array.


Community Member, 197 Posts

7 August 2009 at 4:52am

I want to make some customizations to class Geoip (sapphire/integration/GeoIp.php) but I only want my customizations to apply to the commerce module. Is there a way that I could overide this class just for one module WIHTOUT modifying any code in sapphire?