This is a discussion on Displaying Top Level Category List / Losing Breadcrumbs within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Just wondering if anyone else has seen this behaviour. After initially setting up my site and adding lots of products ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Just wondering if anyone else has seen this behaviour. After initially setting up my site and adding lots of products it occured to me that there is no link to view the top level category contents anywhere. Unless I missed it. In my set up the default breadcrumbs "Top > Category" for me both point to http://www.extrememetal.co.uk since the catalog directory is actually the root directory of my site. It seem rather silly to have both of these set to the same thing so I altered the link for "Category" to http://www.extrememetal.co.uk?cPath=0 Unfortunately this has the annoying side effect of losing the breadcrumb information. because every category I browse through after clicking it fails to display and breadcrumb info other than the default. Can anyone help? |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Go to catalog/includes/application_top.php. Look for: // 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)); Delete or commment out the line with HEADER_TITLE_TOP Then go to catalog/includes/languages/english.php and look for: define('HEADER_TITLE_CATALOG', 'Catalog'); Change the last word 'Catalog' to what ever you like, for example 'Home' That's it you should now see Top>Catalog replaced by Home. This little mod has been working fine for me. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying Subcategories on Category Pages | Dubious | osCMax v2 Features Discussion | 4 | 01-05-2007 08:26 AM |
| Adding Category Descriptions in Category List for each Cat. | el1jones | osCMax v2 Customization/Mods | 1 | 03-15-2006 01:37 AM |
| add 2nd menu category level | mikeyboy | osCMax v1.7 Discussion | 0 | 08-27-2004 02:50 AM |
| Category list Box | starview | osCommerce 2.2 Modification Help | 1 | 07-08-2004 03:14 PM |
| displaying selected products within a category | phlanet | osCommerce 2.2 Modification Help | 0 | 10-30-2002 01:13 PM |