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
This is a discussion on bread crumb trail within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hello! I am looking for a solution to remove the "top" link from the bread crumb trail and replace some ...
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
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
Thank you, I found the code and switched it without any problems.
Bookmarks