0

Using bellow script i have added newsletter in footer.phtml file. now how can i add magento's default captcha?

<?php echo $this->getLayout()->createBlock('newsletter/subscribe')->setTemplate('newsletter/subscribe.phtml')->toHtml(); ?>

I have read this URL's.

https://magento.stackexchange.com/questions/274123/how-can-i-add-captcha-to-newsletter-form
https://stackoverflow.com/questions/23181997/magento-add-captcha-to-custom-contact-form
https://magento.stackexchange.com/questions/151619/captcha-in-footer-newsletter-not-working-after-customer-login

captcha.js file is calling but captcha isn't showing.

Bellow script isn't working in subscribe.phtml file

<?php echo $this->getChildHtml('captcha'); ?>

<?php echo $this->getChildHtml('form.additional.info'); ?>

Can anyone help me? Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.