acappie Posted December 24, 2005 Share Posted December 24, 2005 Hello, How do I replace the os Commerce logo at the top of the index page? acappie Link to comment Share on other sites More sharing options...
tina_boots Posted December 24, 2005 Share Posted December 24, 2005 Hello, How do I replace the os Commerce logo at the top of the index page? acappie The easiest way would be to change the name of your banner to "oscommerce.gif" and upload it to your images folder. A better way would be to modify the code to reflect your banner and ensure its displayed the way you would like for it to display. Open up your header.php file and around line 57 find this code: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>??<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>??<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>??</td> Here you can change the name of the image from the default "oscommerce.gif" to your banner image file and/or make any other changes you choose. Of course you still need to upload your banner to the images folder. Be Well, Tina If you're not having fun you're not doing it right Teach a person to fish rather than give them a loaf of bread or however that saying goes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.