davelutz Posted October 29, 2002 Share Posted October 29, 2002 I just upgraded from 2.1 to 2.2. Nice job on the new features and stability! Thanks. I'm stuck on one item, though. The header navigation shows Top >> Catalog >> etc. and I do not want Top to be displayed. I would like catalog to be the top navigation element. I was able to remove the display of Top from 2.1, but can't figure it out in 2.2. It seems to have something to do with the breadcrumb variable, but it's a bit over my head. Thanks for any suggestions! Dave Link to comment Share on other sites More sharing options...
davelutz Posted October 29, 2002 Author Share Posted October 29, 2002 Figured it out. For others, here's what I did. Comment out the top level nav (Top) and rename Catalog to Top. Look for this in catalog/includes/application_top.php 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)); And change it to this require(DIR_WS_CLASSES . 'breadcrumb.php'); $breadcrumb = new breadcrumb; // $breadcrumb->add(HEADER_TITLE_TOP, 'http://www.yourlink.com' ); $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_DEFAULT)); Link to comment Share on other sites More sharing options...
alougher Posted November 19, 2002 Share Posted November 19, 2002 Did anyone get this to actually work? I have the same problem, I need to remove the 'Top' link and rename "Catalog". The mod suggested above does not seem to apply to my code (breadcrumb - what's all that about then?). Thanks. Link to comment Share on other sites More sharing options...
alougher Posted November 19, 2002 Share Posted November 19, 2002 Ignore me I figured it out, well, kinda... Link to comment Share on other sites More sharing options...
Misteraven Posted November 19, 2002 Share Posted November 19, 2002 While we're at it, how do you change the seperators? eg: from ">>" to ">" Link to comment Share on other sites More sharing options...
gevans Posted November 20, 2002 Share Posted November 20, 2002 I believe that part is encoded as > but I can't remember where exactly. If you did a multi-file search for that string, you would probably find it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.