Install

Works with Drupal: 7.x

Using dev releases is not recommended, except for testing.

Using Composer to manage Drupal site dependencies

Downloads

Download countries-7.x-2.x-dev.tar.gztar.gz 55.45 KB
MD5: 09c5616f392d5f2ec511ec7c049f22b3
SHA-1: 6c3cc69103b4ebbd45396d6430416af43156ffc8
SHA-256: 3c2cb2b51a5ee01a958c14c1a992f24c95aa3966729278e281efed01d0b668fc
Download countries-7.x-2.x-dev.zipzip 69.38 KB
MD5: 8e43bd7748d33470da40a0719d5aa75e
SHA-1: 1366cee89163d09163c91dbd946b94d54a1e4cb9
SHA-256: 5311b95879a369dc8f3a71d1172c49ebf142f7f72e344f8a454be0929a51caa4

Release notes

Changes since 7.x-2.1

#2284469: Tests for "New countries" (not in core) fail
#2041235: Problems with Views filter "(country from field_country) Countries: Name - list (exposed)"
#2036249: Devel Generate module integration.
#2034027: Cache clearing function: countries_clear_caches()
#2034005: Misc issues. Wrong CRUD usage, couple test errors and clean-up
#2033081: Deleting a custom country redirects to the wrong page
#1225632: Integrate with VBO (allowing custom views and bulk update options)
#1130506: Apache Solr integration
#2017825: Multiple duplicates in imports may cause PHP warnings and incomplete messages
#1981556: CTools context support for ISO alpha-2 and alpha-3 arguments
#1619486: Breadcrumb for Views contextual filter displays ISO2 code instead of country name
#1860966: Installing module uses iso.inc country name instead of CSV 'name'
#1941142: Error when modules "List" and "Options" are not enabled
#2027291: Best practice: How to add a country without an ISO code?
#1889998: Use label callback instead of name property
#1490864: Multilingual Support in field_formatter
#1907918: Country field isn't required
#2017805: Make the view relationship more obvious to users
#1458938: Add schema columns properties
#2027613: Overhead in countries_countries_alter()
#2117755: Typo on README.txt

Contains some updates to the official country names and ISO update:
#1793392: Some of the country names are wrong
#1157504: New countries

New in this version (7.x-1.x to 7.x-2.x):

- Views Support
- Refactored code to utilize the options list widget from Drupal core.
- Integration with the Entity API
- And much more

The current road map to an official 7.x-2.x is outlined here: #1437376: Pre 7.x--2.0 release tasks [meta issue].

New Entity API dependency

Minor API changes

These should not effect end-users.

The function countries_get_countries() could throw an exception if an invalid property is requested.

Deprecated countries_get_country(). Each time that this function is called, the module will log a warning in the error logs. Use country_load() instead.

Created by: webflo
Created on: 10 Apr 2011 at 19:08 UTC
Last updated: 20 Nov 2018 at 10:58 UTC
Bug fixes
New features

Other releases