Store Locator plugin for October CMS.
- Google Maps with markers on frontend
- Manage the store list on the backend
- Export/import the store list
- Autocomplete GPS coordinates
Installation
-
Copy
plugins/ademin/storelocator/config/config.php
toconfig/ademin/storelocator/config.php
and add your Google Maps API Key (see https://developers.google.com/maps/documentation/javascript/get-api-key)mkdir -p config/ademin/storelocator cp plugins/ademin/storelocator/config/config.php config/ademin/storelocator/config.php
-
If you wish to add stores in specific countries only you might want to edit
plugins/ademin/storelocator/models/store/fields.yaml
->address->countryRestriction and add country codes for Address field auto-complete on backend (default'us,gb'
). -
If you want to test current position functionality make sure your application launched on HTTPS server or use one of the workarounds https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins
-
Add
[storeLocator]
to configuration section and{% component 'storeLocator' %}
to Twig section of your page
-
Joshua Normark
Found the plugin useful on 30 Jan, 2020
Excellent plugin!
-
1.0.6 |
Status column Jan 22, 2020 |
---|---|
1.0.5 |
Lat and lng column types changes Jan 22, 2020 |
1.0.4 |
Move settings to database Jan 22, 2020 |
1.0.3 |
Snippet added to work correctly with Static Pages Jul 31, 2018 |
1.0.2 |
Initial Databases Jun 16, 2018 |
1.0.1 |
First version of StoreLocator Jun 16, 2018 |