Magento extension, unable to load child html -
i added inchoo featured product extension week back, , working fine till yesterday. code follows. in home page xml layout:
<reference name="content"> <block type="catalog/product" template="page/homepage.phtml" name="homepage" alias="home_page" after="cms_page"> <block type="bannerslider/bannerslider" template="bannerslider/bannerslider.phtml" name="banner_slider" /> <block type="featuredproducts/listing" template="inchoo/block_featured_products.phtml" name="featuredproducts" /> </block> <remove name="breadcrumbs" /> </reference>
in template: homepage.phtml, loading featured products block as:
<?php echo $this->getchildhtml('featuredproducts'); ?>
this problem occurs, above line not printing anything. class block type, assumed (\app\code\community\inchoo\featuredproducts\block\listing.php), constructor never gets fired. in template, changed single label, , wasnt printing either.
the module correctly loaded, can see in backend, tried following code check if had not been disbaled:
<?php echo mage::helper('core')->ismoduleenabled('inchoo_featuredproducts'); ?>
which prints 1.
then, in etc/modules/inchoo_featuredproducts:
<?xml version="1.0"?> <config> <modules> <inchoo_featuredproducts> <active>true</active> <codepool>community</codepool> </inchoo_featuredproducts> </modules> </config>
my code files in correct directory, under "app\code\community\inchoo\featuredproducts\".
this working fine till yesterday, , far know, has been rightly configured. have cleared cache few times, magento version 1.7.0.2. have been trying day, beyond me. problem has got nothing inchoo extension, matter of adding module, , loading template , class.
please advice.