JcM Modal reCaptcha Contact V1.0 Phoenix
A simple add-on that allows you to replace the stock footer information block with one that has a new simple contact form within a modal with Google reCapture. It also displays the information links in a modal window so customer is never taken away from the page they are on.
It’s a simple no core change add-on so just copy files over go to admin and install and setup. Turn off the stock information block.
To use the contact form you will need you google site keys. Add the secret key to the mail.php file along with the email address you wish to use.
$secretKey = 'put your secret key here';
$mail_to = "your email here";
Then in the language file add you site key, cm_footer_jcm_modal_information_recaptcha_contact.php
<div class="g-recaptcha" data-sitekey="put your site key here"></div>
That’s it enjoy.
Has been tested on Phoenix 22.214.171.124 only.
Can be seen working on this custom test site