I tried to insert a getChildHtml
in view.phtml file but half page is empty. The file that i would insert is a file with javascript/php/html
code otherwise if i insert only html or php code the file is showing.
So...i declared my block in catalog.xml
in this way:
block type="page/block" name="product.info.calculator" as="calculator" template="catalog/product/view/calculator.phtml"
and in the view.phtml:
echo $this->getChildHtml('calculator');
Where is the problem?