dev-master
9999999-devMagento module which allows to manage the customer's navigation using the layout.
GPL-3.0
0.1.0
0.1.0.0Magento module which allows to manage the customer's navigation using the layout.
GPL-3.0
Wallogit.com
2017 © Pedro Peláez
Magento module which allows to manage the customer's navigation using the layout.
This module rewrite the block Mage_Customer_Block_Account_Navigation., (*1)
The rewrited module creates 2 methods., (*2)
public function updateLink($name, $path, $label, $urlParams = array())
This method allows to update a link with new information., (*3)
public function deleteLink($name);
This method allows to delete a link (or more if you pass an array as first parameter)., (*4)
The layout is your friend ;), (*5)
<customer_account>
<!-- Update navigation -->
<reference name="customer_account_navigation">
<!-- Clean -->
<action method="deleteLink">
<link>billing_agreements</link>
<link>recurring_profiles</link>
<link>OAuth Customer Tokens</link>
<link>downloadable_products</link>
</action>
<!-- Update some links -->
<action method="updateLink" translate="label" module="customer">
<name>account</name>
<path>customer/account/</path>
<label>My Dashboard</label>
</action>
</reference>
</customer_account>
Magento module which allows to manage the customer's navigation using the layout.
GPL-3.0
Magento module which allows to manage the customer's navigation using the layout.
GPL-3.0