Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can "Top" breadcrumb URL be changed?


ChilliWillee

Recommended Posts

Posted

I am trying to configure my 2.3.4 installation.  My store is in a sub-directory but the URL for the "Top" breadcrumb takes the user back to the root rather than to the store folder.  Can this URL be changed to direct to the folder?

Posted

Simplest way, in  includes/applications_top.php

 

find

 

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

and change to

 

 

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

 

You will then have removed the "top" part of the breadcrumb which leaves "Catalog" that links to the shops frontpage as the first one.

  • 6 months later...
Posted

You need to have the full address including http.  Like below

  $breadcrumb->add(HEADER_TITLE_TOP, 'http://www.google.com/');

and you can define HEADER_TITLE_TOP in your "english.php".

I'm not really a dog.

Archived

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

×
×
  • Create New...