PDA

View Full Version : Remove "Top" From Breadcrumb Trail



michael_s
07-16-2007, 08:00 AM
Just a Simple way of removing the "Top" from your Breadcrumb Trail.

Personally I don't see the need of having "Top" when my next category is "shop_name" which goes to the same place as the "Top" link.

------------------------------------------------------

To install:

1. Backup! your copy of /your_catalog_path/includes/application_top.php

2. Find in "application_top.php" this line (Around line 467)
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

3. Replace with:
// $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

------------------------------------------------------

Doing this will comment out the line in case you decide you need it in the future.

Thats it, Now the "Top »" should not appear in your breadcrumb trail.

-Chris


More... (http://www.oscommerce.com/community/contributions,5290)