Hi,
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 ?
Why
<?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 ?
page.xml (snippet):
<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"/>
catalog.xml (snippet):
<reference name="product_viewed">
<block type="reports/product_viewed" name="product_viewed" template="reports/product_viewed.phtml"/>
</reference>

Thanks you for any help!
Software/Hardware used:
ASKED:
July 5, 2009 10:23 PM
UPDATED:
January 18, 2010 9:39 AM
Hi i fixed it yet
I just edited magetno code, there was condition which prevented showing block