Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A link question


ferry

Recommended Posts

Posted

:rolleyes: Hi

My wesite is :http://www.samszone.com

ON the homepage, there are navigation links below the logo. THE "Catalog" links to index.php, but i want it to be linked to "www.samszone.com", and make it like the "home", How should i do ?

 

Thanks

Posted
:rolleyes: Hi

My wesite is :http://www.samszone.com

ON the homepage, there are navigation links below the logo. THE "Catalog" links to index.php, but i want it to be linked to "www.samszone.com", and make it like the "home", How should i do ?

 

Thanks

Look for this in your includes/header.php file

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

and change the link to where you want it to go.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

thanks for you help.

But i'm sorry, maybe i didn't make myself understood clearly. On the header of home page, there are "Top ? Catalog" links. when you click "Catalog", it will link to index.php, but i want it to link "www.samszone.com".

 

The code is "<?php echo $breadcrumb->trail(' » '); ?>" ,and there is a page which named breadcrumb.php. But i don't know how to fix it.

 

Thanks so much.

Posted

In catalog/includes/application_top.php look for:

 

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

 

I imagine you would wish to remove the 'top' link (you can safely do this) and change the 'catalog' link from FILENAME_DEFAULT to HTTP_SERVER :)

 

Matti

Archived

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

×
×
  • Create New...