Evershock Posted May 21, 2008 Share Posted May 21, 2008 How to I change a link on an image. For example If i click a logo on my site it goes to somewhere i dont want. How to I change it to a different area. Thanks. Link to comment Share on other sites More sharing options...
Guest Posted May 22, 2008 Share Posted May 22, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.