Right now in default magento when customer login into his/her account then Active menu shown to customer is Account Dashboard
I want to show My orders when customer login into account. I used this peace of code.
<customer_account>
<reference name="customer_account_navigation">
<action method="setActive"><name>orders</name><path>sales/order/history/</path></action>
</reference>
</customer_account>
but it didn't work. Please suggest me any solution or give me an alternate idea to do that.
you can try below code in controller.
So, please try this and let me know in case of any query.
Thanks