osCmax v2.5 User Manual
Results 1 to 2 of 2

Displaying Top Level Category List / Losing Breadcrumbs

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 ...

      
  1. #1
    Anonymous
    Guest


    Default Displaying Top Level Category List / Losing Breadcrumbs

    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?

  2. #2
    New Member
    Join Date
    Jan 2004
    Posts
    23
    Rep Power
    0


    Default Replace breadcrumb Top>Catalog

    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.

Similar Threads

  1. Displaying Subcategories on Category Pages
    By Dubious in forum osCMax v2 Features Discussion
    Replies: 4
    Last Post: 01-05-2007, 07:26 AM
  2. Adding Category Descriptions in Category List for each Cat.
    By el1jones in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-15-2006, 12:37 AM
  3. add 2nd menu category level
    By mikeyboy in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 08-27-2004, 01:50 AM
  4. Category list Box
    By starview in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 07-08-2004, 02:14 PM
  5. displaying selected products within a category
    By phlanet in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-30-2002, 12:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •