Package Description
Returns country information in ISO 3166 format for either a supplied IP address or the incoming URL IP address. Fields returned are 2 and 3 letter country codes, the country name and the MODX country identifier as defined in the countries.inc files. An error code is also returned if the lookup failed.
This is intended for use on form based pages where country auto-detection is required, especially in the case where the country is being stored in the MODX User tables.
This is a simple table lookup, no web service or DNS interaction is performed.
See the 'locator' snippet for more detailed usage.
Usage/Installation Instructions
Install as usual through package manager
Details
- Developer(s)
- shamblett
- Released
- 2012-03-11
- First seen
- 2012-03-11
- License
- GPLv3
- Supported databases
- Minimum MODX Requirement
- 2.0
Locator Releases
Vendor | Signature | Released on |
---|---|---|
MODX.com | 1.0.0-pl | 2012-03-11 (12 years ago) |