Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing Breadcrumb To Eliminate Catalog Home


joeleo

Recommended Posts

Ok my breadcrumb is currently like this

 

Home ? Catalog ? Bedding & Bath ? Bedding

 

is there any way to eliminate the Catalog main link because I want my home page to be the base where everyone starts from? Thanks for your help!!!!

Link to comment
Share on other sites

  • 3 weeks later...
Ok my breadcrumb is currently like this

 

Home ? Catalog ? Bedding & Bath ? Bedding

 

is there any way to eliminate the Catalog main link because I want my home page to be the base where everyone starts from?  Thanks for your help!!!!

I need to know how to do this too...

 

I dont want "catalog" to appear in my breadcrumb list....

 

any ideas anyone?

Link to comment
Share on other sites

Ok my breadcrumb is currently like this

 

Home ? Catalog ? Bedding & Bath ? Bedding

 

is there any way to eliminate the Catalog main link because I want my home page to be the base where everyone starts from?  Thanks for your help!!!!

you need to go to /catalog/includes/languages/english.php

 

you will see this:

 

// header text in includes/header.php

define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account');

define('HEADER_TITLE_MY_ACCOUNT', 'My Account');

define('HEADER_TITLE_CART_CONTENTS', 'My Cart');

define('HEADER_TITLE_CHECKOUT', 'Checkout');

define('HEADER_TITLE_TOP', 'Top');

define('HEADER_TITLE_CATALOG', 'Catalog');

define('HEADER_TITLE_LOGOFF', 'Log Off');

define('HEADER_TITLE_LOGIN', 'Log In');

 

Change these two lines to this:

 

define('HEADER_TITLE_TOP', '');

define('HEADER_TITLE_CATALOG', 'Home');

 

What you are doing is removing Top and changing catalog to home. It should then look like this:

 

?Home ? Bedding & Bath ? Bedding

 

Hope this helps

 

Richard

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

In catalog/includes/application_top.php

// 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));

If you want to remove the catalog part it should look like this

// 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));

 

The_Bear

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...