Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tweaking trail function in breadcrumb.php


the2003s

Recommended Posts

Posted

Hi. I want to remove The "Top" and "Catalog" links in the HeaderNavigation box in header.php. I think the way is to modify the trail function in the breadcrumb.php file. But I can't seem to get it to work. Any ideas?

Posted

in includes/application_top.php

Look for:

 

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

 

The_Bear

Posted
in includes/application_top.php

Look for:

 

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

 

The_Bear

 

 

Thanks, that did the trick. But I've noticed that when I click on a product the HeaderNavigation displays Shop Name & Category, which is good, but after the category it doesn't display a link with the product's name. How can I add this? I need it because it helps in terms of SEO.

 

Cheers

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...