Guest Posted September 11, 2005 Share Posted September 11, 2005 Hey all, With a question like this, you'll instantly recognize my lack of knowledge - it has been some time since I set up my OSC store (and it has been working great, so my forgetfulness is an indication of how well this software works :D ) Anyhoooo.... I need to change the URL that the main logo image on the homepage points to. Can any one tell me what the file path is for the file I need to modify, and what file it is that I should be looking for? Thanks in advance, JD Link to comment Share on other sites More sharing options...
dave111 Posted September 11, 2005 Share Posted September 11, 2005 You mean when you click on the logo you want it to take you to a different page (other than index.php)? If so open catalog/includes/header.php Look for this line: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Change FILENAME_DEFAULT to anything you want for example: <td valign="middle"><?php echo '<a href="' . tep_href_link(yournewpage.php) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2005 Share Posted September 11, 2005 Cool - thanks...so, could that link point to ANYWHERE like this: <td valign="middle"><?php echo '<a href="' . tep_href_link(http://www.AnywhereOnTheWorldWideWeb.com) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <{POST_SNAPBACK}> ? Thanks Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2005 Share Posted September 11, 2005 OK - couldn't figure out how to go back and 'edit' the previous topic on this forum, but I tried the <td valign="middle"><?php echo '<a href="' . tep_href_link(http://www.AnywhereOnTheWorldWideWeb.com) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> thing and it DEFINTITELY did not work. What am I missing here? Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2005 Share Posted September 11, 2005 I also tried this: <td valign="middle"><?php echo '<a href="' . tep_href_link(AnywhereOnTheWorldWideWeb.com) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> This didn't shut down the whole page (unlike that other thing I tried above,) and the software treats it like a real link, but it brings me to a "error 404: File not found" page. :huh: Link to comment Share on other sites More sharing options...
dahui Posted September 11, 2005 Share Posted September 11, 2005 <td valign="middle"><a href="http://www.AnywhereOnTheWorldWideWeb.com)"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce'); ?></a></td> should do the job dahui modified: sorry missed the echo and http before Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2005 Share Posted September 11, 2005 Thanks for the followup Dahui - I made the change, and all is well - two thumbs up :thumbsup: mucho agradecido :blush: Link to comment Share on other sites More sharing options...
dahui Posted September 11, 2005 Share Posted September 11, 2005 Thanks for the followup Dahui - I made the change, and all is well - two thumbs up :thumbsup: mucho agradecido :blush: <{POST_SNAPBACK}> denada hermano, es por eso que somos todo aqui B) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.