Jump to content
Sign in to follow this  
JcMagpie

Support thread for JcM Modal reCaptcha Contact V1.0 Phoenix

Recommended Posts

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 1.0.3.0 only.

Can be seen working on this custom test site

image.png.855fbea3a76a309c42ba10c7da5f160c.png

image.png.4e35c39754b7429314870765750c928a.png


 

 


 

Share this post


Link to post
Share on other sites

Another great addon Zahid, thanks for improving OSC !!


Please do not falsify my words. Are you interested in knowing who does it? Send me a PM.

The Phoenix Club won't allow me to join - why not?

Setting up a new Frozen site with so many nice addons available on the market. 

:heart: Community Oscommerce fan :heart:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×