0

The title is probably somewhat confusing. I'll explain as best I can. I built my own little custom CAPTCHA module for the contact us page. I modified form.phtml for my current theme and the CAPTCHA block does appear on the standard Magento /contacts page. However, I have a CMS page that includes the contact us block in form.phtml, which I have edited.

When I look at the page source, I can see the HTML I added to form.phtml but the actual CAPTCHA block is not loaded.

I tried placing the block in the layout and custom layout XML on the CMS page itself but the HTML never renders.

How do I get a custom block to work on a CMS page that calls a template file? Do I need a separate form.phtml?

If any clarification is needed, let me know I'll add what I can.

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.