How can show “Home” in navigation bar?
How can show “Home” in navigation bar?
If you want to add Home button in your navigation bar just follow below information.
app\design\frontend\base\default\template\page\html you will get topmenu.phtml
open the file.
Replace from
<?php $_menu = $this->getHtml(‘level-top’) ?>
<?php if($_menu): ?>
<div>
<ul id=”nav”>
<?php echo $_menu ?>
</ul>
</div>
<?php endif ?>
Replace to
<?php $_menu = $this->getHtml(‘level-top’) ?>
<div>
<ul id=”nav” >
<li><a href=”<?php echo $this->getUrl(”)?>” title=””><span><?php echo $this->__(‘Home’);?></span></a></li>
<?php if($_menu): ?>
<?php echo $_menu ?>
<?php endif ?>
</ul>
</div>
Hope it will work. Happy nice day.