Posts

Showing posts from November, 2009

Replacing Plone Event Location field with a Google Map

Image
Want Plone Event contenttype to have use a Google Map? Use this : https://dev.inigo-tech.com/svn/base/inigo.eventlocationmap/trunk/ A Five product for replacing Location field in ATEvent to a Google Map field Installing: You will first need to deploy Products.Maps into your site first. checkout the product into your buildout src directory:: cd $buildoutroot/src/ svn co \ https://dev.inigo-tech.com/svn/base/inigo.eventlocationmap/trunk/ \ inigo.eventlocationmap In buildout.cfg:: [buildout] .... eggs = inigo.eventlocationmap develop = src/inigo.eventlocationmap .... [instance] .... zcml = inigo.eventlocationmap The catch? WARNING: this will break your existing event content, you need to migrate their location field to use longitude/latitude tuple How to migrate? I'm still figuring it out myself. Credits to Jarn AS for the excellent Products.Maps