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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1794 Views

Avatar
DeklinKelly

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?

Geoip::getCountryDropDown()

Avatar
Willr

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.

Avatar
DeklinKelly

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?