Locator version 1.0 Release Candidate 5 has become available!
RC5 is a quick bugfix of RC4 to solve the working of pagination without groups.
RC4 must become somewhat faster; e107 caching is supported by default (even if caching setting in e107 is set off).
New in RC4 are grouping possibilities: group on category, country, city and/or zip code. You can select any of the groups to be active or not. You can also create external links to directly apply a certain group. Example: if you have a category with id '1' (NOTE: not the category description!), you could link to 'locator.php?cat.1' (without the quotes). Furthermore, you can define the group dividing character yourself. Default would be e.g. group1 - group2 - group3.
Use locator.php?cat.n for linking to a category, where n is the category id. E.g. locator.php?cat.1, shows all locations of category 1.
Use locator.php?cnt.n for linking to a country, where n is country id. E.g. locator.php?cnt.138, shows all locations of The Netherlands.
Use locator.php?cty.n for linking to a city, where n is the city name. E.g. locator.php?cty.London, shows all locations in London.
Use locator.php?zip.n for linking to a (part of) zip code. The length of the zip code parameter n must equal the settings (default = 1). E.g. locator.php?zip.8, shows all locations where zip code starts with 8.
Also new are the settings: 'Display group list only' which enables you to suppress the complete list. If 'Show tooltips' is switched on it displays the description of the location when hovering the mouse pointer over the location.
Finally 'Input coordinates (latitude, longitude)' will enable you to input latitude and longitude at locations. If both the latitude and longitude are filled in, the external google map link behind the location, as well as the embedded Google Map will display the marker based on the coordinates you have put in. In all other cases, the location will be based on the address data.
It is also possible to paginate, you can also define what the number of locations per page should be. Note: if all to be displayed locations fit on one page the paging will be suppressed. The paginate setting will have effect on the admin tool for locations (admin_locations.php) and the location presentation for your visitors (locator.php). The pagination can be applied without or without groupings. E.g. use locator.php?p.3 to link to page 3, but use locator.php.cat.3.2 to go to page 2 of category list 3.
See the Locator Wiki article for the complete change list, or read the readme.txt after downloading your new release.