Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

home point to .com page instead of .php


whereditgo

Recommended Posts

Posted

Hi,

In the breadcrumb and my header, the home points to the index.php page. Is there a way to make them point to the main page which is the .com page? If so, where and how. I am still new to this, so I don't know which files do exactly what yet. I hope I am making sense.

 

Thanks,

Cyndi

Is it reality or just a dream, for some there is no difference.

Posted

Go under your catalog/includes/application_top.php and find:

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

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

 

The 1st $breadcrumb is the "Top" which points to the .com/net whatever, and the 2nd $breadcrumb points to the "Catalog" (index.php file).

 

You can do this a few ways:

 

This will comment out so the "Top" does not show

 

//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

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

 

This will comment out so the "Catalog" does not show

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

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

 

HTH

Archived

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

×
×
  • Create New...