Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Support thread for JcM Modal reCaptcha Contact V1.0 Phoenix


JcMagpie

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


 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...