sellermon Posted December 26, 2005 Share Posted December 26, 2005 I need help either removing or changing where the link on the navigation bar labeled as Top sends people. I could not install oscommerce into my main directory on my server so I installed in a new folder. When I hit the button labeled Top it sends me into the Index or parent directory page. I want to make the top button send them to the main page of my oscommerce installation or remove the button alltogether. Thanks, sellermon Link to comment Share on other sites More sharing options...
rikpotts Posted December 26, 2005 Share Posted December 26, 2005 I think that 'top navigation bar' is generally called the breadcrumb. There is a section in includes/header.php which relates to this 'breadcrumb'. Your best off doing a search in the file for this code <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' ? '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> Ive had murder trying to fix a link in my breadcrumb which I fixed only 10mins ago. I was losing everything in my shoppingbasket when I clicked on my account. I installed a contribution which required you to edit a peice of code by entering https://www.YOURSITE.co.uk/catalog/account.php I think what im saying is dont enter a http:// address into the breadcrumb because it will forget who is using the site and they will lose the contents of their basket. Link to comment Share on other sites More sharing options...
daniemuse Posted December 26, 2005 Share Posted December 26, 2005 Hey Sellermon, I've been having the same problem as you. I haven't found out quite how to fix it yet, but I don't think Rik has answered your question. Rik is talking about the right hand side of the header navigation bar, but you're talking about the left hand side. I don't think that the breadcrumb is going to fix it. I'm under the impression that the breadcrumb refers to the symbols between the links (>> for example) correct me if I'm wrong. I'm working on finding where the code for the actual links are. I'll let you know what I find out, but if someone knows the answer in the meantime, that would be even better for the both of us. D :D Link to comment Share on other sites More sharing options...
rikpotts Posted December 26, 2005 Share Posted December 26, 2005 Sorry, your right. I was going on about the left. Ive not had to mess with the left but.... try includes/application_top.php at the bottom $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); I think you might have to change HTTP_SERVER to catalog. I cant test this though. Link to comment Share on other sites More sharing options...
sellermon Posted December 26, 2005 Author Share Posted December 26, 2005 Ah so thats where it is hiding. Let me know how it works. Thanks, sellermon Link to comment Share on other sites More sharing options...
selectronics4u Posted December 26, 2005 Share Posted December 26, 2005 just comment out the code that will remove the link // $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); Don Link to comment Share on other sites More sharing options...
sellermon Posted December 26, 2005 Author Share Posted December 26, 2005 Yeah thats what I did and it worked fine. Thanks to all of you for your help. Thanks, sellermon Link to comment Share on other sites More sharing options...
daniemuse Posted December 27, 2005 Share Posted December 27, 2005 What if you want to change the link? D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.