SilverStripe Elemental Customer Service Block
Display a map, directions, and contact info for your location., (*1)
, (*2)
, (*3)
Requirements
- dnadesign/silverstripe-elemental: ^4.8
- dynamic/silverstripe-geocoder: ^2.0
Installation
composer require dynamic/silverstripe-elemental-customer-service
, (*4)
Usage
Adds a Customer Service block to display a map, directions and contact info for your location. Userful for a Contact Us page., (*5)
Note
In order to use the Geocoder and address map, you will need to set two Google API keys. Each key needs to have specific API libraries enabled:
* geocoder_api_key
* Geocoding API
* map_api_key
* Maps JavaScript API
* Maps Static API, (*6)
They can be set in your YML file like this:, (*7)
Dynamic\SilverStripeGeocoder\GoogleGeocoder:
geocoder_api_key: 'your-key-here'
map_api_key: 'your-key-here'
For more, see Silverstripe Geocoder, (*8)
Screen Shots
Front End sample of a Customer Service Element
, (*9)
CMS - Customer Service Element Main Tab
, (*10)
CMS - Customer Service Element - Address Tab
, (*11)
Getting more elements
See Elemental modules by Dynamic, (*12)
Configuration
See SilverStripe Elemental Configuration, (*13)
Maintainers
Bugtracker
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over
existing issues to ensure yours is unique., (*14)
If the issue does look like a new bug:, (*15)
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots
and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version,
Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker., (*16)
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers., (*17)