Skip to main content
2 of 2
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/

Change the default title of the links from customer navigation in magento 1.8?

I manage to remove the items that I don't want from the Customer Account Dashboard Links, following this answer,

   <ul>
        <?php $_links = $this->getLinks(); ?>
        <?php $_index = 1; ?>
        <?php $_count = count($_links); /* Add or Remove Account Left Navigation Links Here -*/
            //unset($_links['account']); /* Account Info */     
            //unset($_links['account_edit']); /* Account Info */            
            unset($_links['tags']); /* My Tags */
            unset($_links['invitations']); /* My Invitations */
            //unset($_links['reviews']);  /* Reviews */
            //unset($_links['wishlist']); /* Wishlist */
            //unset($_links['newsletter']); /* Newsletter */
            //unset($_links['orders']); /* My Orders */
            unset($_links['address_book']); /* Address */
            unset($_links['enterprise_customerbalance']); /* Store Credit */
            unset($_links['OAuth Customer Tokens']); /* My Applications */
            unset($_links['enterprise_reward']); /* Reward Points */
            unset($_links['giftregistry']); /* Gift Registry */
            unset($_links['downloadable_products']); /* My Downloadable Products */
            unset($_links['recurring_profiles']); /* Recurring Profiles */
            //unset($_links['billing_agreements']); /* Billing Agreements */
            unset($_links['enterprise_giftcardaccount']); /* Gift Card Link */
        ?>
        <?php foreach ($_links as $_link): ?>
            <?php $_last = ($_index++ >= $_count); ?>
            <?php if ($this->isActive($_link)): ?>
                <li class="current<?php echo ($_last ? ' last' : '') ?>"><strong><?php echo $_link->getLabel() ?></strong></li>
            <?php else: ?>
                <li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
            <?php endif; ?>
        <?php endforeach; ?>
    </ul>

But, what about - if I want to change the order and the default name of them? For instance, I want to change them from,

Account Dashboard
Account Information
My Orders
Billing Agreements
My Product Reviews
My Wishlist
Newsletter Subscriptions
My Gift Cards

to,

My Dashboard
Account Information
Billing Agreements
My Orders
My Reviews
My Wishlist
My Gift Cards
Subscriptions

is it possible?

Run
  • 581
  • 7
  • 17
  • 38