cf495cd8ceff39dd88684cb489834634f848a34e
Add one-click import from installed FocalPoint/Shack Locations component: - Reads #__focalpoint_locations table directly via Joomla DB layer - Parses customfieldsdata JSON for email, website, hours, phone - Maps FocalPoint schema to MokoSuiteStoreLocator fields - Copies coordinates (DECIMAL 10,6 → 10,8), published state, ordering - Combines description + fulldescription into single description field - Import button on admin Import view with CSRF + ACL protection - Graceful handling: checks table exists, reports per-row errors Field mapping: FocalPoint.title → title FocalPoint.address → address (single field, no city/state split) FocalPoint.latitude/longitude → latitude/longitude FocalPoint.phone → phone FocalPoint.customfieldsdata.email → email FocalPoint.customfieldsdata.website → website FocalPoint.customfieldsdata.hours → hours FocalPoint.state → published Authored-by: Moko Consulting
MokoSuiteStoreLocator
A Joomla 4/5 package providing a store locator listing component with coordinating map and search modules.
Package Contents
| Extension | Type | Element |
|---|---|---|
| Store Locator Component | component | com_mokosuitestorelocator |
| Store Locator Map | module (site) | mod_mokosuitestorelocator_map |
| Store Locator Search | module (site) | mod_mokosuitestorelocator_search |
Requirements
- Joomla 5.x or 6.x
- PHP 8.2+
- MySQL 8.0+ / MariaDB 10.4+
Installation
- Download the latest
pkg_mokosuitestorelocator-x.x.x.zipfrom Releases - In Joomla Administrator, go to System > Install > Extensions
- Upload the package ZIP — all extensions install automatically
Features
Implemented
- Admin CRUD — full location management with tabbed edit form (details, address, coordinates, contact, image)
- Admin list — searchable, filterable, sortable locations list with bulk publish/unpublish/delete
- Site frontend — locations list and detail views with pagination
- Schema.org — LocalBusiness structured data markup on all frontend templates
- SEF URLs — router with menu, standard, and nomenu rules
- Menu items — "All Locations" list and single "Location Detail" picker
- Interactive map — Leaflet.js with OpenStreetMap tiles, markers with popups, auto-fit bounds
- Location search — city dropdown, radius filter, and browser geolocation ("Use My Location")
- Proximity search — Haversine distance filtering with distance-sorted results
- Get Directions — Google Maps directions link on detail page and map popups
- Auto-geocoding — coordinates auto-populated from address on save (Nominatim/OSM)
- CSV import — bulk-create locations from spreadsheet with auto-detected column mapping
Planned
- Marker clustering for dense location areas
- Multi-category support with custom map markers
- ACL permissions and SQL upgrade schema
- REST API via Joomla Web Services plugin
- MokoSuiteShop integration for multi-store ecommerce
Development
composer install # Install PHP dev dependencies
Source code lives in source/packages/ — one directory per sub-extension.
License
GPL-3.0-or-later — Moko Consulting
Description
Joomla 5/6 store locator package — interactive map, location search, and admin management
https://mokoconsulting.tech/support/products/mokosuitestorelocator
Readme
GPL-3.0
1.7 MiB
Releases
2
Languages
PHP
58.7%
Markdown
24%
XML
9.4%
INI
4.9%
SQL
2.6%
Other
0.4%