Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

how to change link destination from "top" in header?


Recommended Posts

hi again. i have installed oscommerce in www.mysitename.com/catalog . there is a text link in the header that when I click on it ( ToP ) , it goes to the main site index page (www.mysitename.com/index.htm) . How can I change the destination of this link? for exampl if I want this link to go to www.mysitename.com/mynewsite.htm . thank you a lot.

Link to comment
Share on other sites

in catelog/includes/application_top.php

around line 466 find this code

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

If you have defined the page in the filenames file you can just change it like this

  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_YOUR_FILENAME));
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

My Contributions


Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...