How can I get output of :
<block type="page/template_links" name="top.links" as="topLinks"/>
inside a controller action?
In fact, I have to show links by AJAX.
How can I get output of :
<block type="page/template_links" name="top.links" as="topLinks"/>
inside a controller action?
In fact, I have to show links by AJAX.
$this->getLayout()->getBlock('top.links')->toHtml()
please try this one, i have it checked and its working.