PDA

View Full Version : bread crumb trail



federoff
09-19-2005, 04:52 AM
Hello!

I am looking for a solution to remove the "top" link from the bread crumb trail and replace some of the page descriptions ("catalog" to "home").

Any help locating these in the code would be appreciated.

Thanks, federoff

spurs20
09-23-2005, 02:13 PM
Look in catalog/includes/application_top.php around line 618

find:
// include the breadcrumb class and start the breadcrumb trail
require(DIR_WS_CLASSES . 'breadcrumb.php');
$breadcrumb = new breadcrumb;

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


Take out the line (or comment out) -- $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); -- to remove the "top" link.

To Change -- HEADER_TITLE_CATALOG -- to "Home"
open catalog/includes/languages/english.php

Find the line-- define('HEADER_TITLE_CATALOG', 'catalog'); --
Change 'catalog' to 'Home' or whatever you want.

Hope this helps

j_federoff
09-25-2005, 06:02 PM
Thank you, I found the code and switched it without any problems.