Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I change a link in the navigation?


FCWPG

Recommended Posts

:D Hello everyone,

 

I just started using Oscommerce & .php . I have to say I like what I see !

 

Well, as with anything new, there seems to always be questions, and this endeavor is no different ;?].

 

Ok so here’s the question:

 

Q. How do I change the link in the navigation?

Top> Catalog

 

I want to change the link that you are sent to when you click on Top.

 

How do I do this? I have looked; perhaps I have missed it or I am not looking in the correct area? Any help is greatly appreciated!

 

Thanks in advance! This looks like a great product and I hope to be able [some day soon] contribute to the forum as well!

 

Cheers!

 

Roy

Link to comment
Share on other sites

catalog/includes/application_top.php

about line 467 find

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

change to

 $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_YOUR_FILENAME));

Replace YOUR_FILENAME with the file on you site. Be sure the filename is defined in catalog/includes/filenames.php

 

If you want to direct to another site

same line change like this

 $breadcrumb->add(HEADER_TITLE_TOP,'http://www.othersite.com');

And then if you want to change the word "Top" to something else

catalog/includes/languages/english.php about line 55

define('HEADER_TITLE_TOP', 'Top');

change Top to whatever leaving the single quotes

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

That worked like a charm! No errors no problems! Thank you so much for the quick help Bill!

I did mange to muck things up in terms of the text boxes and I dont remeber what the heck I did or where ;?[>

 

Any idea?

Heres my screw up:

 

http://securefinchcomputers.com//catalog/i...740308babc398e2

 

 

 

Thanks again Bill, your awesome!

 

Roy

 

 

 

catalog/includes/application_top.php

about line 467 find

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

change to

 $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_YOUR_FILENAME));

Replace YOUR_FILENAME with the file on you site. Be sure the filename is defined in catalog/includes/filenames.php

 

If you want to direct to another site

same line change like this

 $breadcrumb->add(HEADER_TITLE_TOP,'http://www.othersite.com');

And then if you want to change the word "Top" to something else

catalog/includes/languages/english.php about line 55

define('HEADER_TITLE_TOP', 'Top');

change Top to whatever leaving the single quotes

Link to comment
Share on other sites

Sorry for the late reply. Took a look. Are you talking about the catagories box showing the count below the catagory name? If so it will probably be in catalog/includes/boxes/categories.php.

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Thanks. I think I need to mess around with this some more ;?]

 

I do however have one more question for you.[surprise surprise]

 

I would like to use OsCommerce as A PRICE LIST while I am learning the ins and outs, is it possible to disable the shopping cart feature temporarily then reactive it when I am ready to do so?

Thanks again Bill & to every one else who is offering there support this GREAT program!!!! !

 

Roy

 

 

Sorry for the late reply. Took a look. Are you talking about the catagories box showing the count below the catagory name? If so it will probably be in catalog/includes/boxes/categories.php.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...