I am integrating Custom HTML in my magneto (1.9) and I have to show Product compare,My cart and Newsletter block in front page.
I have configured multi store in it so it is not possible to change in XML file because it reflect other site.So is there any function that directly call respective template file.
Please use below code in CMS page->Layout update XMl to get above block.
For Product Compare:-
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
For Recently View:-
<block type="reports/product_viewed" name="right.reports.product.viewed" as="recently_viewed" template="reports/product_viewed.phtml" />
For News letter:-
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
For My cart:-
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-"/>