This module provides many country related tasks.
- A fieldable countries database with an administrative interface.
- A way to alter Drupals core country list.
- A country FAPI element.
- A countries field.
- Integration with Country Icons.
- Token support.
- Up to date countries database including Bonaire, Sint Eustatius and Saba BES, Curaçao CUW, South Sudan SSD, Sint Maarten (Dutch part) SXM which are not covered by Drupal core.
No official Drupal 6 version will be released. You can use Countries API and CCK Country if you want a CCK country widget.
If you really want an unsupported Drupal 6 version, try this.
Views Integration
The 2.x branch supports View operations. The views filter is supported via 'select list' in the following way:
- Create a Relationship (under 'Advanced') to 'Field: Country (field-country)' ('Country' being the field label, 'field_country' the field name).
The field is shown twice in the list
- Field: Country
- Field: Country (field-country)
The first one is not working. This broken relationship has been removed in the latest dev version. - Add a Field/Filter/Sort of type 'Countries: xyz' with the new relationship.
Please open a new issue if you find bugs or require additional functionality.
Related modules
- Countries Additional Codes
Provides FIPS, NATO FIFA and IOC country codes, as well as the top level internet domain. (sandbox) - Countries Table Field
Extends the module to provides a tabular input widget.
Disabling countries
If you disable any countries using this module, the country should be removed from country lists. While this is a quick way to remove the country reference, it means that the disabled country should never show up on any lists!
Requirements
Drupal 7.x-1.x:
None
Drupal 7.x-2.x:
- Entity API - Version 1.0 rc 1 or later!
This creates or provides better integration with a number of modules including Rules, Features, I18n, Token.
Project information
- 5,907 sites report using this module
- Created by irakli on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-2.x-dev updated 20 Nov 2018 at 10:58 UTC
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC