← Alle Apps
Geo Location Services logo

Geo Location Services

von Rivet Logic Corporation

Data Modeling, Process & Business LogicLiferay Self-HostedLiferay PaaS

Beschreibung

The Geo Location Services is an app that once installed offers a web service that receives an IP value and returns a two-character ISO 3166-1 country code in which that IP resides. With this app you can enable Geo IP functionalities in your apps. For example you can choose which content to show to your users based on the country they are located.

This app uses Maxmind GeoLite2 Country CSV database. You download that database from here http://dev.maxmind.com/geoip/geoip2/geolite2/#Downloads and then use an interface that is also provided by this app to import that data into Liferay. You won't need to use an external service anymore to provide Geo IP functionalities in your portal.

To use this service in your portlets or templates use this code:
<script type="text/javascript">
Liferay.Service(
'/geo-location-services-portlet.geolocations/get-location',
{
IP: '8.8.8.8'
},
function(obj) {
alert(obj);
}
);
</script>

or if you prefer to use JQuery use this one:
<script type="text/javascript">
$.get( "/api/jsonws/geo-location-services-portlet.geolocations/get-location/IP/8.8.8.8", function(data, status) {
alert(data);
});
</script>

Quelle: Liferays offizieller Marketplace

Weitere in Data Modeling, Process & Business Logic

Activiti Workflow Engine

von EmDev Limited

This plugin allows users and admins to use Activiti BPMN workflow engine for publication process (for example instead of default Kaleo). It almost fully supports BPMN 2.0 specification and may fully r

Address Validator

von Rivet Logic Corporation

The Address validator plugin enables the validation of addresses entered by the user. It uses some third party services or APIs for that purpose. The initial implementation uses Google Geocoding API,

Adobe Connect

von E2 Software India Pvt. Ltd

About Adobe Connect : Adobe Connect gives you complete control over the look and functionality of your virtual rooms. Create experiences that incorporate branding and content. Position functional pods

AdvicedAssets Portlet

von Tune IT

Portlet for Liferay that allows to show list of tematically-related content near every post in blog. Content list can include other blog posts, journal content articles and document library resources.

Weitere von Rivet Logic Corporation

Address Validator

von Rivet Logic Corporation

The Address validator plugin enables the validation of addresses entered by the user. It uses some third party services or APIs for that purpose. The initial implementation uses Google Geocoding API,

Announcer

von Rivet Logic Corporation

The Announcer allows an administrator to configure a set of articles that will be presented to a user on visit in a modal panel. The Announcer has some intelligence built into it as to when it should

ArmorFuel Single Page Responsive Theme

von Rivet Logic Corporation

The ArmourFuel theme it's a single page theme with latest UI development design and modern style. + The ArmourFuel theme has been built with HTML5, CSS3 Animations and jQuery. + Layout System Grid Boo

Asset Publisher Infinite Abstracts Grid

von Rivet Logic Corporation

This template make use of Liferay Application Display Template A.K.A ADT. This is a new feature introduced in Liferay 6.2. This template is implemented for the asset publisher portlet. Webcontent asse