php - How to acces one .phtml file in another .phtml file magento? -
in magento development how access 1 ".phtml" file in 1 or more other ".phtml" files?
for example:
in theme template folder there 1 folder info. contains info.phtml.this info.phtml display data database.i want use info.phtml in other .phtml files using getchildhtml() how this?
try code in phtml file call phtml file
<?php echo $this->getlayout()->createblock('core/template')->settemplate('test/test.phtml')->tohtml(); ?>
Comments
Post a Comment