Magento already had a built-in contact form that can be used for general contacts.
But we can not find this form on the ADMIN => CMS section. So if we want to edit text in that default contact form, we will need to edit back-end file.
If you are a developer, editing your contact form HTML is a piece cake, the path for the file is:
app/design/frontend/default/[yourtheme]/template/contacts/form.phtml
But, if there are cases when you would like to let your client/customer to edit some intro text, phone numbers, edit text behind the form.
So we can embed the contact form in some CMS page:
1. Go to your CMS> Manage Pages interface
2. Once there, input your HTML as you normally would on any other page
3. Once you are happy with HTML part, add this lines:
1 2 3 | <!– CONTACT FORM –> {{block type='core/template' name='contactForm' template='contacts/form.phtml'}} <!– END OF CONTACT FORM –> |
All done. Enjoy it!