Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to you take "Top" out of the top of a page?


Guest

Recommended Posts

Posted

On the top of the page where it saies "Top ? Catalog" how do I get rid of "top" I have the catalog installed in the root directory so I don't need top at all since top or catalog will take you back to the same place. I found where to edit the word to say something else but not take it off all together. It don't matter if I take out top or catalog I just don't need both of them on there. I am running 2.2 by the way.

Thanks

Posted

Do a search in catalog/includes/application_top.php for 'breadcrumb' with your favorite text editor.

 

It should point you to this section of code (in my application_top.php it's around line 860 but yours may be different):

 

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

 

To take out the 'Top' part remove this line:

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

So it looks like this:

 require(DIR_WS_CLASSES . 'breadcrumb.php');



 $breadcrumb = new breadcrumb;







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

 

Hope this helps.

Posted

That was very easy and worked like a charm, and now I know how to add more stuff. Thank You very much for the reply and for making it easy.

Charlee

Archived

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

×
×
  • Create New...