|
I have found a solution to fix the problem!
Go to: \app\design\frontend\base\default\template\page\html\topmenu.phtml
The file contains:
<?php if($_menu): ?> <div class="nav-container"> <ul id="nav"> <?php echo $_menu ?> </ul> </div> <?php endif ?>
Because I use a block to manage my Top Menu I have added some code:
Here is the one with only the Home Button:
<?php if($_menu): ?> <div class="nav-container"> <ul id="nav"> <li><a href="<?php echo $this->getUrl('') ?>">Home</a></li> <?php echo $_menu ?> </ul> </div> <?php endif ?>
Here is the one I’m using:
<?php if($_menu): ?> <div class="nav-container"> <ul id="nav"> <li><a href="<?php echo $this->getUrl('') ?>">Home</a></li> <?php echo $_menu ?> <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('menu')->toHtml(); ?> </ul> </div> <?php endif ?>
You need to create a static block with the ID: menu.
Then you can manage your top menu with the magento admin intergace.
Greetz,
Kevin Walter
|