Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add a home link?


Guest

Recommended Posts

That code should work alright, but why do you need it? You should already have a 'Home' link to the left of those links in the top nav bar. Also, the logo you use at the top of the page is also a home link. If you are using the basic install, then you'll probably have two links to the left, one saying 'Top' the other saying 'Catalog', and the Ctalog link is the Home link. In your osCommerce admin panel go to Define Languages, then select english.php (if it's an English language website), then scroll down unti you find define('HEADER_TITLE_CATALOG', 'Catalog'); and change this to define('HEADER_TITLE_CATALOG', 'Home'); Then in includes/application_top.php scroll down almost to the bottom, and where it says $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); change this to //$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); to rem out the 'Top' link from the nav bar, and all you are now left with is a 'Home' link to the index.php file. Hope this helps - Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...