MattMallory Posted January 2, 2004 Share Posted January 2, 2004 I installed OSC in the root so there is no need for the "Top »". I would like to remove it from the top left navigation on all of the OSC pages BUT I would like to keep the breadcrumb->trail feature for the reset of the pages. Any ideas on how to do this? I pulled the below line of code out of the includes\header.php <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> Knowledge is Power! Link to comment Share on other sites More sharing options...
♥Vger Posted January 2, 2004 Share Posted January 2, 2004 Okay, I just did something very similar about two hours ago - now let's see if I can remember it all? Firstly, there are two links, Top and Catalog (Catalogue in English/English). Go to Tools - Define Languages - in English.php where it says "define('HEADER_TITLE_CATALOG', 'Catalog');" change 'catalog' to 'Home' (which is much more appropriate). Go to File Manager, and open the 'Includes' directory. In application_top.php, where it says "$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));" Just add two forward slashes in front, to rem out the 'Top' listing e.g. "//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));" Now you have only one link on the top left of the nav bar, and where it used to say 'Catalog' it now says 'Home' - and your breadcrumb trail stays intact. Hope this helps. Vger Link to comment Share on other sites More sharing options...
MattMallory Posted January 2, 2004 Author Share Posted January 2, 2004 Found how to remove it now just trying to figure out how to change Catalog to Store Home & add the >> after that. :P Knowledge is Power! Link to comment Share on other sites More sharing options...
MattMallory Posted January 2, 2004 Author Share Posted January 2, 2004 Well thanks to your post I figured out how to change Catalog to Store Home & I have found that the >> is added automatically! Thank you! Knowledge is Power! Link to comment Share on other sites More sharing options...
Pixxi Posted January 9, 2004 Share Posted January 9, 2004 Okay, I just did something very similar about two hours ago - now let's see if I can remember it all? Firstly, there are two links, Top and Catalog (Catalogue in English/English). Go to Tools - Define Languages - in English.php where it says "define('HEADER_TITLE_CATALOG', 'Catalog');" change 'catalog' to 'Home' (which is much more appropriate). Go to File Manager, and open the 'Includes' directory. In application_top.php, where it says "$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));" Just add two forward slashes in front, to rem out the 'Top' listing e.g. "//$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));" Now you have only one link on the top left of the nav bar, and where it used to say 'Catalog' it now says 'Home' - and your breadcrumb trail stays intact. Hope this helps. Vger Excellent tip, thank you. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.