-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 85f6cfd93e7929cb86ef6db27f6cc8cc13a90e5f Author: Jason Irish <[email protected]> Date: Sat Nov 16 17:09:21 2013 -0600 clean up commit 1c4aca7b7f578a064b4d7922a7ec533ac3cf5258 Author: Jason Irish <[email protected]> Date: Sat Nov 16 17:00:46 2013 -0600 template and css clean up removed datasource option. Locator clean up, added Category GridField. commit fabbb6268c603974478a3d3afca809989b628e78 Author: Jason Irish <[email protected]> Date: Sat Nov 16 15:55:25 2013 -0600 create LocationSearch in Locator_Controller model cleanup. added categoryID setting to store locator js
- Loading branch information
Showing
11 changed files
with
178 additions
and
431 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,49 @@ | ||
## Overview | ||
Overview | ||
================================= | ||
|
||
The Locator module displays a searchable map of locations. You can choose whether to show all locations on load, or enable auto geocoding to filter the initial list based on the visitor's location. Uses the jQuery Store Locator plugin for map display. | ||
|
||
## Installation ## | ||
Composer Installation | ||
================================= | ||
|
||
* cd ~/Sites/yourSilverStripeProject/ | ||
* git clone [email protected]:dynamic/SilverStripe-Locator-Module.git locator | ||
* Run `/dev/build` | ||
`"require": { "dynamic/silverstripe-locator": "dev-master }` | ||
|
||
## Requirements ## | ||
Add `locator` to your `.gitignore` | ||
|
||
* SilverStripe 3.0+ | ||
Git Installation | ||
================================= | ||
|
||
`git clone [email protected]:dynamic/SilverStripe-Locator-Module.git locator` | ||
|
||
`git clone [email protected]:ajshort/silverstripe-addressable.git addressable` | ||
|
||
`rm -rf .git` (optional, to remove existing git repo) | ||
|
||
Requirements | ||
================================= | ||
|
||
* SilverStripe 3.0.x | ||
* Addressable Module by ajshort for Location geocoding - https://github.com/ajshort/silverstripe-addressable | ||
|
||
## Use ## | ||
Use | ||
================================= | ||
|
||
Create a Locator page in the CMS. Locations are managed under the Locations tab in the CMS via Model Admin. Simply enter the name and address of each location, and they will appear on the map. | ||
|
||
## Maintainer Contact ## | ||
Maintainer Contact | ||
================================= | ||
|
||
* Dynamic (<[email protected]>) | ||
|
||
## Links ## | ||
Links | ||
================================= | ||
|
||
* [SilverStripe Addressable](https://github.com/ajshort/silverstripe-addressable) by Andrew Short | ||
* [jQuery Store Locator Plugin] (http://www.bjornblog.com/web/jquery-store-locator-plugin) | ||
* [jQuery Store Locator Plugin](http://www.bjornblog.com/web/jquery-store-locator-plugin) | ||
* [SilverStripe CMS](http://www.silverstripe.org/) | ||
|
||
## License ## | ||
License | ||
================================= | ||
|
||
Copyright (c) 2013, Dynamic Inc | ||
All rights reserved. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ebd504b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jirish did we remove these for a reason...
public function getAllCategories() { return LocationCategory::get(); }
To use the categories this function currently needs to be re-applied to the Locator page via an extension at this point. We'll probably want to work it back in as a part of the module.
ebd504b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.