14Aug

Magento default Contact Form vs Web Forms Extension

Magento continues to amaze me every day and our stores are doing phenomenally well since migrating to the platform.  This week I’ve begun building a Magento powered online store for a client.  Most of the setup is straightforward but Magento fails in one simple and mundane task.  The Contact Form.

Its default Contact form is awkward, rarely works and difficult to edit.
If you wish to embed it in a page, you need to paste the ffg code:

<!– CONTACT FORM CODE BEGIN–>
{{block type=’core/template’ name=’contactForm’ template=’contacts/form.phtml’}}
<!– CONTACT FORM CODE END–>

But this post is not about the horrible form above.

In previous store setups, I’ve used the Web Forms  extension, the community version is completely free of charge and suffices for just about any application.   You can easily add extra fields, tick boxes, radio buttons, captcha and more.

Problem on Magento CE 1.7 and a custom theme,  Web Forms does not appear on the pages.
It showed the “powered by webforms” link, but actual form fields did not appear.

Solution: You need to copy over the actual Web Forms files and paste it into the relevant theme files.

 

  1. Go into the  app/design/frontend/default/default/template/ webforms   (copy the webforms folder)
    now navigate to:  app/design/frontend/##CUSTOM THEME##/ default/template/  (paste it into the template folder)
  2. Next, navigate to:   app/design/frontend/default/default/layout/webforms.xml  (copy the xml file)
    now navigate to: app/design/frontend/##CUSTOM THEME##/default/layout/webforms.xml (paste the xml file here)

  3. Lastly, go to:   skin/frontend/default/default/webforms  (copy the webforms folder)
    and navigate to: skin/frontend/##CUSTOM THEME##/default/webforms  (paste the folder here)

 

More information on the Web Forms extension, installation and premium version can be found here:
http://mageme.com/help-magento-webforms-installation-guide/

 

Share this Story

About naeem mayet

Leave a Reply

Your email address will not be published.

© Copyright 2015, All Rights Reserved.