Fabrik 3.5.2 is now available to download. Read the blog for highlights about this release.
As always, please back up your site prior to updating and if possible test in a dev environment first.
Also, our 3.5.1 package file was hacked, the effected dates were 1/15/2017 - 1/17/2017. If during those days you downloaded the 3.5.1 package file from the JED or our site download page, please re-install the package with a fresh copy or upgrade to Fabrik 3.5.2. Github downloads were not effected.
Geocode scheduled task
The geocode plugin allows you to use Googles geocode API to find and store coordinates for a set of addresses. This can be useful when you import in a data set and wish to update a google map element for all of the imported records.
This scheduled task plugin will only run if the Fabrik Cron System Plug-in is installed.
- Map element - The google map element which will be used to store the geo-coded location
- The rest of this sections options enable you to define which element's in your list contain which parts of the address to geocode.
- Geocode when - When to apply a geocode.
- Empty or Default - will only geocode if the map element is empty or has the 'Empty Value' (as specified below)
- Empty - will only geocode a row if the map element value is literally empty.
- Always - will geocode regardless of value of the map element. NOTE - if you are using a 'Batch Limit', do not use 'Always' for this setting, as this will cause each run to simply re-encode the same batch.
- Empty value - Only used if 'Empty or Default' is selected for 'Geocode When'. The value in the Map Element which should be considered to mean empty, i.e. this row needs encoding. Needs to be of the form (lat,long):zoom, with no spaces
- Zoom level - Google Maps zoom level to use for the encoded map elements.
- Batch limit - OPTIONAL - set a limit on the number of rows to process on each run of the plugin, to avoid hitting Google limits on geocode operations. If not specified, all rows will be processed
- Delay - OPTIONAL - delay (in milliseconds) between geocoding requests to Google. If you are seeing errors in the Fabrik log about Google limits, try setting this to a few hundred.