If you want to have a contact form on the phtml page, then ...
add the block to xml that you want, for example, I wanted to add a request form to the product view, so I went to the .xml directory in <reference name="content"> and added:
<block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/form.phtml"/>
just add getChildHtml :
getChildHtml ('contactForm')? >
Itβs so simple, I know, but I took 3 coffee, like all light things in purple ...
source share