![]()
CG ZipCode custom field plugin display city information from its postal code.
- ^ Use ConseilGouz Library
- ^ Display plugin's version
- ^ Use SubscriberInterface
- # CGAddress plugin conflict
- # Script.php : missing delete function
- # Joomla 5.x compatibility
- # Joomla 5.x compatibility
- ^ Convert field plugin to service provider
- + fr : search in cedex if not found
- # cleanup code
- Joomla! 4.x/5.x/6.x
- Joomla! 3.x
| Download CG ZipCode Plugin |
|
Download prohibited (already downloaded 351 times) |
Note : This version is not maintained anymore.
| Download CG ZipCode plugin |
|
Download prohibited (downloaded 557 times) |
Important : activate CG ZipCode plugin.
CG ZipCode custom field plugin displays city's information from its postal code: city name, INSEE code, GPS info.
If configured to be used in France, information are extracted from geo.api.gouv.fr.
Any other country, information are extracted from nominatim.openstreetmap.org.
CG ZipCode plugin may be used in articles, user or contact form.
French version may be found in my contact form. Entering 95450 should display 16 answers. Entering 95450 GO will give you info. from a nice village in Vexin.
International version is in my english contact form configured for US postal codes. Try 30341 and you'll have information about Atlanta (where I spent some time).
Custom fields in contact form are explained in the following link : https://www.joomlashack.com/blog/tutorials/contact-custom-fields/
Content Security Policy : CG ZipCode plugin uses external databases. You'll have to add public.opendatasoft.com (France) or/and nominatim.openstreetmap.org (international mode) in connect-src section.
How CG ZipCode plugin works : you may enter a postal code or state + postal code.

Select fields you'd like to display.
You may also want not to display any field but display them in your own custom fields.
Just add to your custom fields (tab "Parameters", "field class") one of following classes :
- cgcity : city name
- cginsee : insee code
- cglong : longitude
- cglat : lattitude
Version 1.0.3 introduces a default country parameter.
Enter a 2 characters country code, from to ISO 3166-1 definition.
© 2026 ConseilGouz