An easily to install & configure Store Locator that utilises v3 of the Google Maps API to provide a ajax searches to stores that are nearby. Can also use the browser geolocation feature to automatically get the browser location and display nearby stores.
Features can be switched on/off easily in the config file and a password protected admin panel is used to administer Stores, Categories, Reviews & Ratings.
Features
- Built using CakePHP
- Uses Google Maps v3 API
- Uses jQuery
- Ajax Search Functionality
- Browser Geolocation
- Easy to setup & congigure
- Store Categories
- Store Reviews & Ratings
- Password Protected Admin Panel
- Add/edit/delete Stores
- Approve/un-approve Stores
- Add/edit/delete Categories
- Add/edit/delete Reviews
- Approve/un-approve Reviews
- View/delete Users
Database
- Create your database & User
- Use the schema.sql file to create the required tables and optional Categories
- Insert your database settings in app/Config/database.php
Security
- Change the value of 'Security.salt' in app/Config/core.php
- Change the value of 'Security.cipherSeed' in app/Config/core.php
- Check everything is OK by visiting /pages/home
Admin
- Change the value of 'Admin.email' in app/Config/core.php to get email updates
- Change the value of 'Admin.enable_admin_panel' in app/Config/core.php to enable/disable the admin panel
- Add first User
- Uncomment lines 14&15 of the app/Controllers/UsersController.php file
- Swop ENTER_YOUR_PASSWORD_HERE for your password
- Visit /login to see hashed password
- Insert that into the database manually or use the below SQL to create an Admin User
- Recomment lines 14&15 to stop them showing
- Visit /login to login with your email & password
Maps
- Get a Google API Key from here: https://code.google.com/apis/console
- Change the value of 'Google.APIKey' in app/Config/core.php
- Change the value of 'Google.DefaultLatitude' in app/Config/core.php to set the default map location if needed
- Change the value of 'Google.DefaultLongitude' in app/Config/core.php to set the default map location if needed
- Change the value of 'Google.DefaultRegion' in app/Config/core.php to limit address results based on region if needed
Features
- Change the value of 'Feature.allow_visitors_to_add_stores' in app/Config/core.php to enable/disable adding stores for visitors
- Change the value of 'Feature.allow_visitors_to_add_reviews' in app/Config/core.php to enable/disable adding reviews for visitors
- Change the value of 'Feature.enable_browser_geolocation' in app/Config/core.php to enable/disable browser Geolocation
- Change the value of 'Feature.show_results_table' in app/Config/core.php to enable/disable results table
Questions & Comments