I have added a new template file between cart page and checkout.The issue I am facing is that the content of the file is shown above the header please help me to solve this issue
public function linkAction()
{
$this->loadLayout();
$this->renderLayout();
echo $this->getLayout()->createBlock('core/template')->setTemplate('vatexempt/checkout/onepage/vatexempt.phtml')->toHtml();
}
This is how I call the template file in my controller.
Following is the code in my xmo file
<vatexempt_index_link> <!-- frontendname_controllername_actionname -->
<reference name="content">
<block type="core/template" name="vatexempt" template="vatexempt/checkout/onepage/vatexempt.phtml" />
</reference>
</vatexempt_index_link>
Please Help me I am using magento 1.8 default theme