Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change this link Top>>Catalog


fasiso

Recommended Posts

In 2.2CVS

 

Open up ./includes/languages/<language>.php

 

ie for English ./includes/languages/english.php

 

On about line 55 you can change them in the defines similar to these (Home was top, store was catalog):

define('HEADER_TITLE_TOP', 'Home');

define('HEADER_TITLE_CATALOG', 'Store');

 

You can also define your store name (for browser title) here too ;)

(that's up a bit ) > define('TITLE', 'My Store');

 

Hope this helps :D

Link to comment
Share on other sites

Thanks but I want to change the link (catalog link, top link) not the titles.

 

Oops, sorry mate. Ok the catalog link is defined in filenames.php

./includes/filenames.php

define('FILENAME_DEFAULT', 'index.php');

 

The breadcrumb trail is defined in application_top.php

On about line 460 you should see something similar to this:

// 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));

 

Just change HTTP_SERVER to your required page (for the top link), this can be done manually here or these (HTTP_SERVER and HTTPS_SERVER) can be changed in your configure.php

 

 

 

Hope it helps this time :D

Link to comment
Share on other sites

Oops, sorry mate.  Ok the catalog link is defined in filenames.php

./includes/filenames.php

  define('FILENAME_DEFAULT', 'index.php');

 

The breadcrumb trail is defined in application_top.php

On about line 460 you should see something similar to this:

// 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));

 

Just change HTTP_SERVER to your required page (for the top link), this can be done manually here or these (HTTP_SERVER and HTTPS_SERVER) can be changed in your configure.php

Hope it helps this time :D

 

Vacuity Thanks just what I was thing about to find!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...