♥JcMagpie Posted November 8, 2019 Share Posted November 8, 2019 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. Line 6. $secretKey = 'put your secret key here'; Line 15. $mail_to = "your email here"; Then in the language file add you site key, cm_footer_jcm_modal_information_recaptcha_contact.php Line 75. <div class="g-recaptcha" data-sitekey="put your site key here"></div> That’s it enjoy. Has been tested on Phoenix 220.127.116.11 only. Can be seen working on this custom test site Smoky Barnable and valquiria23 2 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.