Magento April 7, 2010 How to call a block directly from a .phtml file? Sometimes you want to call a block inside a .phtml file without defining in layout. In this case, we can use a method called toHtml of a block. This tutorial will let you know how to call it directly from pthml file.