Dotcms Content Management System (Java CMS) features:

 

Geolocation Viewtool

Rating
         
Updated April 12, 2013
Author Aquent
Version 1.0
Compatible 1.9,2.0,
Description A plugin for dotCMS that adds a viewtool enabling the use of MaxMind's (http://www.maxmind.com/) Java based GeoIP API (https://github.com/maxmind/geoip-api-java) and databases for geolocation functionality. The plugin will support both Lite and full versions of their location databases. You can download the Lite databases for free at http://dev.maxmind.com/geoip/geolite.

This plugin is hosted on github:

https://github.com/aquent/com.aquent.plugins.geolocation

For more information and usage, see:

http://learndotcms.com/2013/04/geolocation-viewtool 

 


 

Geolocation Viewtool

A plugin for dotCMS that adds a viewtool enabling the use of MaxMind's (http://www.maxmind.com/) Java based GeoIP API (https://github.com/maxmind/geoip-api-java) and databases for geolocation functionality. The plugin will support both Lite and full versions of their location databases. You can download the Lite databases for free at http://dev.maxmind.com/geoip/geolite.

Installation

  • Download and extract the plugin package to your {DOTCMS_ROOT}/plugins directory
  • Download one of MaxMind's database files and copy it to your main assets/ directory
  • Open conf/plugin.properties in the plugin and make sure the maxmind.dbFileName property matches your database file's name.
  • Shut down your server ({DOTCMS_ROOT}/bin/shutdown.[sh|bat])
  • On your server, run 'ant clean-plugins deploy-plugins'
  • Start your server back up ({DOTCMS_ROOT}/bin/startup.[sh|bat])

Compatibility

Known to be working in dotCMS 1.9.5 and 2.2.1. Should be fully 2.x compatible though.

Location Database Updates

As MaxMind occasionally updates their location databases, you may find it helpful to set up a process to automatically pull fresh copies of the database rather than doing it manually. MaxMind provides instructions for setting up a cron job using a license key to automate that process at http://www.maxmind.com/en/license_key. This works for both paid and lite versions of the database.

Plugins are feature additions outside of the dotCMS core code and unless explicitly stated otherwise, are not covered under the enterprise warranty. However, support for plugins is available through our professional services department. Contact us for more information.
Back to the top