Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changes in the breadcrumb trail


fromthe5

Recommended Posts

I would like to change "Top" in the breadcrumb trail to "Home". It's easier to understand. Also I would like to change the destination of "catalog" to the actual catalog instead of index.php. I see lots of references but can't seem to find where to make the actual changes.

Link to comment
Share on other sites

I would like to change "Top" in the breadcrumb trail to "Home". It's easier to understand. Also I would like to change the destination of "catalog" to the actual catalog instead of index.php. I see lots of references but can't seem to find where to make the actual changes.

 

I have replaced in header.php around line 61 the default with

 

<td class="headerNavigation" id="top_of_page">  <?php echo HEADER_TITLE_MY_STORE . ': '; ?><?php echo $breadcrumb->trail(' ' . tep_image(DIR_WS_IMAGES . 'breadcrumb.gif', IMAGE_BREADCRUMB, '5', '8') . ' '); ?></td>

 

and dropped in include/languages/english.php

 

define('HEADER_TITLE_MY_STORE', 'Home');

 

create the necessary breadcrumb.gif or keep the default char

Link to comment
Share on other sites

Thank you for responding.

 

Ok. Now I have Home: Top Catalog Product name. The word "Top" is still there and the word "Home" is not clickable. What I wanted to try and do is just "replace" the word "Top" with the word "Home" and have it still be a link. Is this possible? The breadcrumb.gifs are gone also. The link "Catalog" in the breadcrumb still goes to store/index.php. I need to find out where to go to redirect it.

Link to comment
Share on other sites

In catalog/includes/languages/english.php and any other language file you are using, find

define('HEADER_TITLE_TOP', 'Top');

Change Top to Home. Put your header.php back to the way it was.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...