Guest Posted June 27, 2003 Posted June 27, 2003 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
gevans Posted June 27, 2003 Posted June 27, 2003 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.
gevans Posted June 27, 2003 Posted June 27, 2003 I just realized that this lesson is in the Wiki documentation: http://www.oscommerce.com/forums/viewtopic.php?t=40896
Guest Posted June 28, 2003 Posted June 28, 2003 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.