Now its party time: we need to add some code to our template, so connect to FTP or if you work in local machine find this folder:
app/design/frontend/default/default/template/catalog/navigation/ and open top.phtml file. And add this line:
{CODE type:php;}
<li><a href=”<?php echo $this->getUrl(‘about-us’)?>”><?php echo $this->__(‘About Us’) ?></a></li>
{/CODE}
as shown:
{CODE type:php;}
<ul id=”nav”>
<li><a href=”<?php echo $this->getUrl(‘about-us’)?>”><?php echo $this->__(‘About Us’) ?></a></li>
<?php foreach ($this->getStoreCategories() as $_category): ?>
<?php echo $this->drawItem($_category) ?>
<?php endforeach ?>
</ul>
{/CODE}
Here: about-us it the SEF URL Identifier and About Us is the new menu name.
Have fun! 🙂
Tags: custom page, Magento, Magento tips