Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing link destination in header navigation


Kyle88

Recommended Posts

The default "home page" link in the header navigation had been named "Top". I have changed it to now be "Home" by modifying the store/includes/english.php file. All is working well.

 

Next, I want to change the destination of the "Home" link. It currently links to=> http://store.specbolt.com/. I want it to link to=> http://specbolt.com/.

 

What is the pathway to the correct directory and file, to make this change? Which line of code do I then modify?

Link to comment
Share on other sites

To borrow a phrase from Ray Stevens..... "It's me again, Margaret..."

:lol:

 

/catalog/includes/application_top.php

 

Find:

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

Change to:

 

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

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

To borrow a phrase from Ray Stevens..... "It's me again, Margaret..."

:lol:

 

/catalog/includes/application_top.php

 

Find:

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

Change to:

 

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

 

Yep ... that did it. Margaret sends her regards and her many thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...