I have included contact us form in cms page using below code
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/form.phtml"}}
But after doing this, message after submitting the form is coming twice.
How this can be rectified? Any help will be appreciated.
Best Answer
This is inside the
app/design/frontend/base/default/template/contacts/form.phtml
So the messages are justecho'ed
twice. Either remove the standard message block from the layout or remove the above from the template. I think editing the template is easier.