Who the user account in Magentoshop like to would like to add one or two links, can make it relatively simple and straightforward.
For this, the file is in the folder navigation.phtml
/app / design / frontend /[default oder base/IhrTemplate/template/customer/account
There I want to make sure, that an additional Logout link and continues to be a link appears on the portal returns, which is to be opened in a new window. Here I add the following code in the file for
<?php endforeach; ?>
and before
</Street>
a.
The result is below:
<div class ="block block-account"> <div class ="block-title"> <h2><?php echo $this->__('My Account'); ?></h2> </div> <div class ="block-content"> <Street> <?php $_links = $this->getLinks(); ?> <?php $_index = 1; ?> <?php $_count = count($_links); ?> <?php foreach ($_links as $_link): ?> <?php $_last = ($_index >= $_count); ?> <?php if ($this->isActive($_link)): ?> <li class="current<?php echo ($_last ? ' last' : '') ?>"><span><?php echo $_link->getLabel() ?></span></li> <?php else: ?> <li<?php echo ($_last ? ' last'"last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li> <?php endif; ?> <?php endforeach; ?> <li class="last"><a href="http://hierIhrLink" target="_blank">The link name</a></li> <li class="last"><a href="/customer/account/logout/">Logout</a></li> </Street> </div> </div>
The result looks like this:
Used in 1.4.1.1