public function indexAction()
{
$layout = $this->loadLayout();
$block = $this->getLayout()->createBlock(
'checkout/cart_sidebar',
'PPWD_Custom',
array('template' => 'checkout/cart/sidebar.phtml')
);
echo $block;
// $this->renderLayout();
}
=============================================================================================
theme/layout/custom.xml
<?xml version="1.0"?>
<layout version="0.1.0">
<custom_index_index>
<reference name="content">
<block type="custom/cart_sidebar" name="cart_sidebar" template="custom/cart/sidebar.phtml" before="-">
<action method="addItemRender"><type>simple</type><block>custom/cart_item_renderer</block><template>custom/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>grouped</type><block>custom/cart_item_renderer_grouped</block><template>custom/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>configurable</type><block>custom/cart_item_renderer_configurable</block><template>custom/cart/sidebar/default.phtml</template></action>
<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="custom">
<label>Shopping Cart Sidebar Extra Actions</label>
</block>
</block>
</reference>
</custom_index_index>
</layout>
=============================================================================================