Shareyou can call a .phtml block file into another .phtml like <?php echo $this->getLayout()->createBlock(‘catalog/product_list_related’)->setTemplate(‘catalog/product/list/related.phtml’)->toHtml(); ?>
Read moreCategory: Magento
How to change page layout in Magento
Share <default> <reference name=”root”> <action method=”setTemplate”><template>page/2columns-left.phtml</template></action> </reference> <default>
Read moreRemove column from page
Share<default><remove name=”[your found block name]” /></default> Example <default> <reference name=”left”> <remove name=”left” /> </reference> </default> Above example will remove left column from the page
Read moreHow do I call a static block
ShareHow to call staic block any XML file <reference name=”left”> <block type=”cms/block” name=”sample_block” before=”-“> <action method=”setBlockId”><block_id>sample_block</block_id></action> </block> </reference> How to[…]
Read more