Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the oscommerce.gif in header.php


bollomatron

Recommended Posts

Posted

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

Posted

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.

Posted

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 ?

Posted

After your changes what do you see in your header?

 

The_Bear

Posted

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

Posted

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

Posted

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

Posted
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)

Posted

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...