I am stuck with following issue. I want show product_viewed block (recently viewed products - magento block) at specific position on my front page (templates/page/mylayout.phtml).
Look at code snippets of page.xml, catalog.xml and mylayout.phtml
Header and footer and other magento blocks are showing right. But problem is only with showing product_viewed block - no html code load
. What I am doing wrong ?
<?php echo $this->getChildHtml('product_viewed') ?>
doesnt return any code ?
When block hints are turned on, there is no block hint for product_viewed block (look at picture). Why ?
<block type="page/html_header" name="header" as="header"></block>
<block type="reports/product_viewed" name="product_viewed" as="product_viewed" template="reports/product_viewed.phtml"/>
<block type="reports/product_viewed" name="product_viewed" template="reports/product_viewed.phtml"/>
Thanks you for any help!
July 5, 2009 10:23 PM
January 18, 2010 9:39 AM