bollomatron Posted April 21, 2004 Posted April 21, 2004 I cant seem to get my site logo to change ! I have changed the link to it in header.php and nothing changes ! all i want to do is upload my own image which is a jpg and i dont want to rename the file to oscommerce.gif please help me I am pulling my hair out ! btw i am using BTS aswell ! Cheers Bollomatron
oog Posted April 21, 2004 Posted April 21, 2004 I know you said you dont want to change the name of your logo to oscommerce.gif , but thats what I did, all works fine.
bollomatron Posted April 21, 2004 Author Posted April 21, 2004 The only thing is want to add a jpg because i have more control over the quality of the image ! In the long run i want to change the entire header but if i cant get the image to change its gonna prove difficult ! it must be possible because there are loads of sites in the "active shops" section that have completley customised headers ! please help - anyone ?
bluepony Posted April 21, 2004 Posted April 21, 2004 catalog/includes/header.php about line 53 - replace with your image name. For more tips read http://wiki.oscommerce.com/helpHowtoTextGeneral I'd rather be flying!
Guest Posted April 22, 2004 Posted April 22, 2004 After your changes what do you see in your header? The_Bear
bollomatron Posted April 22, 2004 Author Posted April 22, 2004 This is the part of the header.php.that i have changed : <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'shoplogo.jpg', 'Warehouse 4 Health') . '</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> </tr> </table> and still it only shows the oscommerce.gif and "oscommerce"as the comment ! the site i am working on is : www.warehouse4health.co.uk the only thing i can think of is that it is not picking up the header.php from this location. but i cant find any other header.php anywhere ! btw i am using BTS ! cheers Bollomatron
bollomatron Posted April 22, 2004 Author Posted April 22, 2004 Sorry www.warehouse4health.co.uk/shop !
Guest Posted April 22, 2004 Posted April 22, 2004 I am on your store and i see your wharehouse for health logo but if i save as it is called oscommerce.gif The_Bear
Guest Posted April 22, 2004 Posted April 22, 2004 I dont remember off the top of my head (i am at work) but with BST, Is it not main_page.tpl.php that you are suppose to change? The_Bear
ringmaker Posted April 22, 2004 Posted April 22, 2004 Sorry www.warehouse4health.co.uk/shop ! be sure you load your .jpg into the image file (rhjlogo1.jpg) and remove the oscommerce one. see below from include header.php <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'rhjlogo1.jpg', 'rhjlogo') . '</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)
241 Posted April 22, 2004 Posted April 22, 2004 I see your logo but mouseover gives osCommerce No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
bollomatron Posted April 22, 2004 Author Posted April 22, 2004 You are the man its sorted ! Many thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.