Magento Forum

link to homepage outside of magento
 
kkifer
Jr. Member
 
Total Posts:  11
Joined:  2012-11-16
 

I am adding magento to an existing site. I need a way for people to go back to my main homepage from the magento shopping pages. It seems like I could just add an item to the category navigation that says “HOME”. I can add a category with that name but I can’t see how to add the external link.

Or perhaps there’s a better place to put this link?

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
ixtab86
Member
 
Total Posts:  58
Joined:  2011-11-02
 

You can add this link manually by modifying navigation template.
just add it before ‘echo $_menu’ inside list (<li>) element

 
Magento Community Magento Community
Magento Community
Magento Community
 
kkifer
Jr. Member
 
Total Posts:  11
Joined:  2012-11-16
 

Like this?

<ul id=\"nav\">
<li><a href=\"http://www.donlatarski.westhostsite.com/index.php\">HOME</a></li>
<?php echo $_menu ?>
</ul>

I found that in the document: /magento/app/design/frontend/base/default/template/catalog/navigation/top.phtml

I used my cPanel to open that file and edit and save. But the word HOME is not showing up, with or without the link. (I flushed my cache too).

Is that not the right document? I\’m using the default package.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ixtab86
Member
 
Total Posts:  58
Joined:  2011-11-02
 

If you have v1.7 you should find this template in magento/app/design/frontend/base/default/template/page/html/topmenu.phtml or directly in page catalog. don’t remember right now.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kkifer
Jr. Member
 
Total Posts:  11
Joined:  2012-11-16
 

THANKS! I did have the wrong page. It’s working now.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top