Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonheecs/prestashop-contact-form-google-map
A custom contact form module for Prestashop
https://github.com/jasonheecs/prestashop-contact-form-google-map
contact-form google-maps prestashop
Last synced: about 2 months ago
JSON representation
A custom contact form module for Prestashop
- Host: GitHub
- URL: https://github.com/jasonheecs/prestashop-contact-form-google-map
- Owner: jasonheecs
- License: mit
- Created: 2016-12-14T04:30:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-14T11:15:14.000Z (about 8 years ago)
- Last Synced: 2024-07-30T18:54:24.658Z (6 months ago)
- Topics: contact-form, google-maps, prestashop
- Language: Smarty
- Homepage: http://prestashop.jason-hee.com/en/contact-us
- Size: 14.6 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prestashop Custom Contact Form
A custom module that overrides the Prestashop contact form with custom styling and a Google Map background
![alt tag](http://i.imgur.com/fqQqkEh.jpg)# Demo
You can view a demo of this module at [http://prestashop.jason-hee.com/en/contact-us](http://prestashop.jason-hee.com/en/contact-us)# Setup
## Download
[Download](https://github.com/jasonheecs/prestashop-contact-form-google-map/archive/master.zip) or clone this repository into your project's modules directory. The module files should reside in your `/modules/customcontact` directory.## Installation
Once the module files are in your project, you should be able to see the **Custom Contact** module in your admin back-office.![alt tag](http://i.imgur.com/kOqHPuo.jpg)
Click on the **Install** button to install the module.
## Configuration
Once the module is installed, you can click on the **Configure** button to configure the module settings. The configuration screen looks like this:![alt tag](http://i.imgur.com/xksqTj5.jpg)
## Notes
You will need a [Google Maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key) in order for the Google map to load.# Supported versions
This module is meant for Prestashop v1.6.x. It will not work on Prestashop 1.7.# Customisation
This module overrides Prestashop's [ContactController](customcontact/override/controllers/front/ContactController.php). You can customise the module's functionality by extending this class in your theme.The front end template consists of 2 files [contact-form.tpl](customcontact/views/templates/front/contact-form.tpl) and [map.tpl](customcontact/views/templates/front/map.tpl). You can customise the front end appearance of the module by overriding these 2 files in your theme.