Guest Posted December 31, 2002 Share Posted December 31, 2002 I must admit I'm stumped! I've tried to search through "english" files - "header" - "default". I just can't find 'em. The forum search turns up lots except what I need! I'd also like to remove "top" (HEADER_TITLE_TOP) from the Navbar. If I can't - can I change the link to something else? In Summary: 1- Where are these symbols?..... >> 2- How do I remove "Top" 3- or change its "href" Thanks Link to comment Share on other sites More sharing options...
TB Posted December 31, 2002 Share Posted December 31, 2002 Ken, Code for >> is » Replace the >> with a different character set/symbol: Replace the » code in catalog/includes/header.php (It's around line 127'ish) Remove the 'TOP' from the NavBar: Comment out or delete the following in catalog/includes/application_top.php $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); You will see the HEADER_TITLE_CATALOG just below it also. What I've done with my site is commented out the HEADER_TITLE_CATALOG and renamed the value for HEADER_TITLE_TOP in catalog/includes/languages/english.php to Home. Example: require(DIR_WS_CLASSES . 'breadcrumb.php'); $breadcrumb = new breadcrumb; $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); /* Removed "Store/Catalog" from breadcrumb menu - start $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); Removed "Store/Catalog" from breadcrumb menu - end */ if (isset($cPath_array)) { $n = sizeof($cPath_array); The overall effect of this is: Home >> SubCatagory >> Product Hope this helps, Tony "The price of success is perseverance. The price of failure comes much cheaper." Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2003 Share Posted January 1, 2003 Hey Tony, Code for >> is » That bloody » :evil: - I just couldn't work out the connection between the >>'s and it! Thanks so much for the more than adequate reply. I will be able to nut this out for sure. Again thanks for the clear and precise nature of your code. Hows the weather down there? :wink: Ken Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2003 Share Posted January 1, 2003 Tony the >> was easy - thanx. Commenting out $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); causes HEADING_TITLE to stick up on the default page!! :? So I thought I'd try your What I've done with my site is commented out the HEADER_TITLE_CATALOG and renamed the value for HEADER_TITLE_TOP in catalog/includes/languages/english.php to Home. and that seems easy enough but I can't find the following code and am a little hazy about it!require(DIR_WS_CLASSES . 'breadcrumb.php'); $breadcrumb = new breadcrumb; $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); /* Removed "Store/Catalog" from breadcrumb menu - start $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); Removed "Store/Catalog" from breadcrumb menu - end */ if (isset($cPath_array)) { $n = sizeof($cPath_array); . Would it be in another file? :o Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2003 Share Posted January 1, 2003 OK! Sorry I see it now (Doh!) :oops: Now! I'm getting the HEADING_TITLE Phrase sticking up on the default page whichever one I comment out.Either //$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); or using your /* Removed "Store/Catalog" from breadcrumb menu - start $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); Removed "Store/Catalog" from breadcrumb menu - end */ Nearly there though! :) Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2003 Share Posted January 1, 2003 Right! Fixed that. I somehow // out $category_depth = 'top'; in the default page, might have been unrelated.I'll try again. Link to comment Share on other sites More sharing options...
TB Posted January 1, 2003 Share Posted January 1, 2003 Ken, After all that.... :D How'd you go? Did you get it working? Let me know if you need a hand and I'll help where I can... also, if you're modifying your site for Australian requirements, we may be able to help each other out. I've done a few GST mods to my site... nothing over the top, just renaming TAX to GST and adding TAX INVOICE to the top of the invoice page, etc. Cheers, Tony "The price of success is perseverance. The price of failure comes much cheaper." Link to comment Share on other sites More sharing options...
besheer Posted January 1, 2003 Share Posted January 1, 2003 Thank you all so much! This has been a most informative topic for me. t answered many of my questions. Drive it like you stole it. Link to comment Share on other sites More sharing options...
TB Posted January 1, 2003 Share Posted January 1, 2003 Ken, Sorry mate, I missed your Q about the weather... Do you really want to get me started on this typical Melbourne weather? :roll: I sit at home wearing a bomber jacket and boxer shorts half the time! I'm just so confused! :? Cheers, Tony P.S. Where are you located? "The price of success is perseverance. The price of failure comes much cheaper." Link to comment Share on other sites More sharing options...
Guest Posted January 2, 2003 Share Posted January 2, 2003 Hey Tony, I don't know what I was doing yesterday. The simplest thing in code is two little slashes (//) and thats all I had to do today for the desired result. Now to the serious stuff. I'm sitting in my "speedos" and just about to head out for a surf. Do the words "Byron Bay" conjure up images of paradise in your mind :twisted: :twisted: :twisted: I was travelling around in a 24" caravan for a year and passed through the great southern city exactly this time last year. Caught a "one dayer" at the "G". Summer and I wore two jumpers and a scarf. Rode my "250cc" down to the peninsula for the sunday session and a bit of a perve. The bouncer had to boil the kettle to loosen my grip on the bars. So I ventured north and couldn't pass this place. Sold the van and started up http://www.aussiehomeshop.com.au . Nearly finished it just got to redo the images now I've changed their sizes and of course theres always more mods that I just gotta have. So I reckon we could help each other out yeah, but I'm only real new to php and html etc etc. But if theres anything I can do - sounds great hey! I think theres probably more you could help me with if your a bit more learned on the coding side of things. And to any other Aussies out there, say g'day. I'd love to be part of a little "ausCommerce" thang! :wink: Link to comment Share on other sites More sharing options...
mfreund Posted July 7, 2003 Share Posted July 7, 2003 how exactly do i get the >> to go away?.....I looked at the header.php file and cant find anything i need more detailed instructions....please Link to comment Share on other sites More sharing options...
Guest Posted July 7, 2003 Share Posted July 7, 2003 Change the » in <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> to the text that you want. Use for a space. For example, to replace >> with two spaces, you would change to <td class="headerNavigation"> <?php echo $breadcrumb->trail(' '); ?></td> Good luck, Matt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.