Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

customize breadcrums ?


pHaL

Recommended Posts

Posted

hi there....

 

I've been busy customizing my osC cart and it's going quite well... but now I want to change the breadcrum trail a little.

 

basicly I'd like to remove or change the 'Top' crum... want my crum backtracking to stop at the catalog, how do I do that ?

 

already made my own navigation menu but I'd like to keep the breadcrums too...

 

 

thanx,

pHaL

Posted
basicly I'd like to remove or change the 'Top' crum... want my crum backtracking to stop at the catalog, how do I do that ?

 

includes/application_top.php

 

find:

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

change to:

 

//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

Removes the "top" label in your breadcrumb. :thumbsup:

 

Sheri

  • 3 months later...
Posted
includes/application_top.php

 

find:

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

change to:

 

//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

Removes the "top" label in your breadcrumb. :thumbsup:

 

Sheri

Does it matter, anywhere else, if I remove the Top or Catalog breadcrumb please? My Top is called Home & my Catalogue is called Shop, but they both go to the main shop front page. Just want to check that something that I have missed is not linked to one or other of these. :P

 

Thanks

Julie

Posted
Does it matter, anywhere else, if I remove the Top or Catalog breadcrumb please? My Top is called Home & my Catalogue is called Shop, but they both go to the main shop front page. Just want to check that something that I have missed is not linked to one or other of these. :P

 

Thanks

Julie

 

Not sure what you mean. Application_top is the only place these two breadcrumbs are generated..well at least in the regular osc. I know nothing about templates at the moment. If your main index into your site is your shop index, then "TOP" is redundant and should be removed.

 

Sheri

Posted
Not sure what you mean. Application_top is the only place these two breadcrumbs are generated..well at least in the regular osc. I know nothing about templates at the moment. If your main index into your site is your shop index, then "TOP" is redundant and should be removed.

 

Sheri

Hi Sheri

 

My Top is www.mysite/

& my catalogue is www.mysite/index.php

 

Both show the same page. I wasn't sure if some code elsewhere would relate to the Top bit or the catalogue bit, because I would hate to remove the one that was needed. I will just remove the name of the one not needed ie: instead of /Top/ it would be //

 

Julie

  • 3 weeks later...

Archived

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

×
×
  • Create New...