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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| Thank you, I found the code and switched it without any problems. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| Help me hidden | This thread | Refback | 10-04-2007 04:27 PM | |
| Web&Beyond - OSCMax | This thread | Refback | 03-19-2007 01:29 PM | |
| Help me hidden "Top >> Catalog " - osCommerce Community Support Forums | This thread | Refback | 03-14-2007 05:02 AM | |
| Help me hidden "Top >> Catalog " - osCommerce Community Support Forums | This thread | Refback | 03-10-2007 04:47 AM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| <?php echo $breadcrumb->trail(' » '); | kuzak | osCommerce 2.2 Modification Help | 2 | 09-29-2005 09:16 AM |
| Variables contained in Breadcrumb Trail | carab | osCommerce 2.2 Modification Help | 3 | 10-17-2004 11:46 AM |
| Edit Breadcrumb Trail | a_sap | osCommerce 2.2 Modification Help | 1 | 07-11-2004 07:57 AM |
| editing breadcrumb trail | pedrump | osCommerce 2.2 Modification Help | 2 | 05-12-2004 09:40 AM |
| change breadcrumb trail text colour | Korsh | osCommerce 2.2 Installation Help | 1 | 09-17-2003 09:53 PM |