|
Ik ben al een tijdje opzoek hoe ik menu items van elkaar kan scheiden.
Zo heb ik nu bovenin mijn magento dit staan:
* My Account
* My Wishlist
* My Cart
* Checkout
* Log In
Maar ik wil eigenlijk wishlist en checkout ergens anders neerzetten.. Dus scheiden van dit menu.
Nu heb ik gekeken en dit dit volgens mij de “top.links.phtml”.
En daar staat:
<?php if($toplinks && is_array($toplinks)): ?> <ul> <?php echo $this->getChildHtml() ?> <?php foreach($toplinks as $_toplink): ?> <li<?php if($_toplink['first']||$_toplink['last']): ?> class="<?php if($_toplink['first']): ?>first <?php endif; ?><?php if($_toplink['last']): ?>last <?php endif; ?>"<?php endif; ?> <?php echo $_toplink['liParams'] ?>> <?php echo $_toplink['beforeText'] ?><a <?php echo $_toplink['aParams'] ?>><?php echo $_toplink['innerText'] ?></a><?php echo $_toplink['afterText'] ?></li> <?php endforeach; ?> </ul> <?php endif; ?>
Hier staan ze dus niet hard in en worden gerenereerd. Maar hoe kan ik ze dan uit elkaar halen?
Alvast bedankt!
|