Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Which file contains the code for "Top" link


Guest

Recommended Posts

Posted

I need to change the code to point to my shopfront/catalog. It currently links me to my root directory, where my index page is in frames. Top frame is my bussiness logo and main frame is oscommerce. Therefore, when TOP is clicked my index page loads, loading new frames etc.

 

www.rcparts.com.au

 

Any help greatly appreciated.

 

Thanks

Posted
I need to change the code to point to my shopfront/catalog. It currently links me to my root directory, where my index page is in frames. Top frame is my bussiness logo and main frame is oscommerce. Therefore, when TOP is clicked my index page loads, loading new frames etc.

 

www.rcparts.com.au

 

Any help greatly appreciated.

 

Thanks

 

includes/application_top.php around line 450

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

I, too, am trying to figure this one out. I'd like to change the "Top" link to go to a different URL.

 

I'm looking at the application_top.php file right now but it all looks like greek to me. Could you tell us what exactly needs to be changed?

 

Many thanks in advance.

 

Selene

Posted
I, too, am trying to figure this one out. I'd like to change the "Top" link to go to a different URL.

 

I'm looking at the application_top.php file right now but it all looks like greek to me. Could you tell us what exactly needs to be changed?

 

Many thanks in advance.

 

Selene

 

the code you need to alter is in line 466

// 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);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

this one

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

change the text for HEADER_TITLE_TOP to something else in english.php if Top doesn't suit you, and change the url HTTP_SERVER to your url, full url in ''

 

example

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

 

tghis will make the customer leave your shopping site and lose the session id too.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...