2017 © Pedro Peláez
 

magento-module mbiz_customernavigation

Magento module which allows to manage the customer's navigation using the layout.

image

monsieurbiz/mbiz_customernavigation

Magento module which allows to manage the customer's navigation using the layout.

  • Thursday, September 8, 2016
  • by jacquesbh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Mbiz_CustomerNavigation

This module rewrite the block Mage_Customer_Block_Account_Navigation., (*1)

New methods

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)

Usage

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>

The Versions

08/09 2016

dev-master

9999999-dev

Magento module which allows to manage the customer's navigation using the layout.

  Sources   Download

GPL-3.0

10/06 2016

0.1.0

0.1.0.0

Magento module which allows to manage the customer's navigation using the layout.

  Sources   Download

GPL-3.0