Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Top link address location


ESX

Recommended Posts

When I click on the button on the top left it links/points me to my websites splash page, I'd like it to point directly back to my home page. Where is this line of code that I need to change/modify located?

Link to comment
Share on other sites

I just removed the 'Top>>' entirely. The top level then becomes 'Catalog'. However, if you want to point it somewhere else, look for this code in application_top.php:

// include the breadcrumb class and start the breadcrumb trail
require(DIR_WS_CLASSES . 'breadcrumb.php');
$breadcrumb = new breadcrumb;

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

That last line adds the Top link. HEADER_TITLE_TOP is the text displayed (different for each language.) The English version is defined in includes/languages/english.php. The HTTP_SERVER is the URL to link to. Just change this to the page you want to link it to.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...