Magento Contact Form Attachment Functionality

Would you like to have attachments in your contact form in Magento?

Do the following:

  1. Clone the zip of this github: https://github.com/yogisfunda/magento-contact-form-attachment
  2. Upload (merge) the files into the public_html directory
  3. Recompile/flush cache
  4. Go to your-site.com/contacts
  5. If the form does not changes or there’s a blank page, move the contents of the frontend/default part to frontend/base.

You can insert the form as a widget on a cms page by adding the following code:

{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="eurowsport/customform/customform.phtml"}}

1 thought on “Magento Contact Form Attachment Functionality”

  1. Hi,

    thanks for the nice module but I have a problem. The same when I create the module myself, the files are send by mail but with noname and strange size, they are stored correctly in the media/customform folder

Leave a Comment

Your email address will not be published. Required fields are marked *

en_USEnglish
Scroll to Top