Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading to 1.5.x / ISO 3166 Country Codes Reference

ISO 3166 Country Codes Reference

Locked

Started by design75 on 30 Jul 2011, 9:05 AM · Views: 2,775

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
30 Jul 2011, 9:05 AM
#1
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

ISO 3166 Country Codes Reference

I noticed there was a new link at the top of the countries page, which is very useful to many I think.

Problem is it results in a page not found on the ISO site.

30 Jul 2011, 9:41 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: ISO 3166 Country Codes Reference

Good spot. In admin/languages/english/countries.php, change line 27 fromphp define('ISO_COUNTRY_CODES_LINK', '<a href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm" target="_blank">ISO 3166 Country Codes Reference</a>'); to```php
define('ISO_COUNTRY_CODES_LINK', '<a href="http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm" target="_blank">ISO 3166 Country Codes Reference</a>');

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)