Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change the link for the "top" button


lfc_tan

Recommended Posts

Posted

Hi all.

 

I am new to oscommerce and so far I am finding it great.

 

Just ran into my first problem, I need to change the web address associated with the "top" link on my site. I installed my store on a sub domain, but have now purchased an add on domain....so basically when you click on "top" instead of going directly back to the store home page....it goes to my "root" domain....if that makes sense.

 

So what i need to know is what document can I find the code in order to change the address for the link???

 

Cheers all

Posted

In includes/application_top.php the path to the "Top" and "Catalog" links are set with these two lines:

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

You can change the words Top and Catalog from the language file, includes/languages/english.php Or any other language you use.

Posted
In includes/application_top.php the path to the "Top" and "Catalog" links are set with these two lines:

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

You can change the words Top and Catalog from the language file, includes/languages/english.php Or any other language you use.

 

thanks..so what text would i actually need to change in order to change the domain name??

Archived

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

×
×
  • Create New...