projects / org / ezpublishlegacy / region
Find the Exponential Software extensions you want
| UNIX name | Owner | Status |
|---|---|---|
| region | eZ Publish Legacy | stable |
| Version | Compatible with |
|---|---|
| N/A | N/A |
Original Author: Bj?rn Dieding, http://www.xrow.com
Additions by: Geoff Bentley, Serhey Dolgushev
The region extension redirects a user to a siteaccess based on his ip address.
This can be done in the background (the ip address is checked in the database)
automatically, or the user can choose a country siteaccess in a specific
pagelayout.
This extension includes GeoLite data created by MaxMind, available from
http://maxmind.com/
The geo ip database is taken from
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
Project Homepage:
http://projects.ez.no/region
Geo-detection is triggered when a user requests the home page or a non-region-specific URL (e.g /verve).
In order to serve up a siteaccess, the region extension must formulate a region via a country code and a language.
It formulates the region in the following order:
{in_region('my-region')}
?>