- extension key: Vianetz_Recaptcha
This module for the Magento 1 online shop software adds the Google reCAPTCHA v2 to the Magento contact form.
- PHP >= 7.0.x
- Mage_Core
- Mage_Contacts
- Magento >= 1.7
This extension adds the Google reCAPTCHA v2 to the Magento contact form and only allows the submit if the reCAPTCHA was filled correctly.
To insert the reCAPTCHA into your contact form you have to add the following code to your theme in contacts/form.phtml:
<?php echo $this->getChild('vianetz.contacts.recaptcha')->toHtml(); ?>
For installation notes please see also our FAQ.
- Do a backup of your Magento installation for safety reasons.
- Disable Magento compilation feature (if activated): System > Tools > Compiler
- Unzip the setup package and copy the contents of the src/ folder into the Magento root folder. (The folder structure is the same as in your Magento installation. No files will be overwritten.) Please assure that the files are uploaded with the same file user permissions as the Magento installation!
- Clear the Magento cache (and related caches like APC if available)
- Logout from the admin panel and then login again
- Enable the Magento compilation feature (if it was activated before): System > Tools > Compiler
- Place your Google reCAPTCHA site key and secret into the configuration System > Configuration > Google reCAPTCHA
As an alternative you can install the module via modman. Please find more information about that installation method at https://github.com/colinmollenhour/modman (Thanks @colinmollenhour)
We also offer paid installation services. If you are interested please contact me at support@vianetz.com.
- Remove the folder app/code/community/Vianetz/AttachTermsAndConditions
- Remove the file app/etc/modules/Vianetz_AttachTermsAndConditions.xml
Please find the Frequently Asked Questions on our website.
If you have any issues or suggestions with this extension, please do not hesitate to contact me or send me an email.
Christoph Massmann https://www.vianetz.com @vianetz
(c) since 2006 vianetz
This Magento Extension uses Semantic Versioning - please find more information at http://semver.org.