Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing a link


Evershock

Recommended Posts

Using the store logo as an example which is found in catalog/includes/header.php it looks like this

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

The part that says FILENAME_DEFAULT is where the page is linked to. In this case the index.php page.

 

If you look in catalog/includes/filenames.php you will see all of the defines for your pages. This is the one for the index page.

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

Just find the page you want to link to and change the FILENAME_DEFAULT to yours.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...