collective.portlet.geo 1.0.2

Wrap any Plone portlet with geolocation or language negotiation
collective.portlet.geo is a Plone product that works as a wrapper around the exiting portlet types.

Usage

When you select the "Geoportlet" type under "Manage portlets", the add form lets you select from a database of countries and languages, and choose a portlet type. In the next screen, you'll create the chosen portlet (if it requires user input).

The geoportlet toggles its availability based on IP address lookup and/or HTTP language accept strings. You can use it to segment the audience for a portlet into particular countries or language groups, e.g. China and Mandarin.

It uses the geolocation database provided by http://Software77.net.

Compatibility: Plone 4+.

HTML

Each geoportlet wraps the contained portlet assignment in an HTML < div > element with CSS-classes corresponding to the selected countries and/or languages. The format is geoportlet-< country > and geoportlet-< language > where the country is provided as the three-letter ISO 3166-1 alpha-3 country code and the language is provided as the two-letter ISO 639-1 language code:

< div class="geoportlet-dnk geoportlet-da" >
 < div class="portlet ..." >
 ...
 < /div >
< /div >

last updated on:
June 20th, 2012, 1:14 GMT
price:
FREE!
developed by:
Malthe Borch
homepage:
plone.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ Plone Extensions
collective.portlet.geo
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in This Release:
  • When first creating a geoportlet, use the contained assignment's title as the portlet title. This ensures that we get a suitable name from the INameChooser adapter.
  • Fixed traversal issue that prevented the editing of portlets with a "null" edit-form.
  • Fixed security checking issue.
read full changelog

Add your review!

SUBMIT