Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add an image at the bottom


Tannv

Recommended Posts

Hi,

 

Please help to guide me How to add an image at the bottom or right column

 

sample: add an image under: Copyright ? 2006 "my website"

Powered by osCommerce

 

or how to add a new frame on right column?

 

I am not a software engineer, please help

 

Many thanks.

Link to comment
Share on other sites

If you are running a default version of osC then all you need ot do is make an image and place it in the following folder: www.yoursite.com/images/banners/

Please make sure you rename your image to the following "oscommerce.gif" (without the " ") and also that it is in GIF format.

Cheers

Jonny :thumbsup:

Link to comment
Share on other sites

If you are running a default version of osC then all you need ot do is make an image and place it in the following folder: www.yoursite.com/images/banners/

Please make sure you rename your image to the following "oscommerce.gif" (without the " ") and also that it is in GIF format.

Cheers

Jonny :thumbsup:

 

Thank you for quick reply. Unfortunately, I deleted the code which displayed oscommerce.gif at the bottom. Anh now I don't remember and don't know where to change it.

 

Please help.

Link to comment
Share on other sites

Hi tanny,

 

Someone else might be able to tell you this more clearly,

 

but here is the code from the oscommerce header file that contains the picture

 

catalog/includes/header

 

---------------------------------------------------------------------------------------

<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 . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

</tr>

</table>

---------------------------------------------------------------------------------------

 

and below is the original code from the oscommerce footer:

 

catalog/includes/footer.php

 

---------------------------------------------------------------------------------------

<table border="0" width="100%" cellspacing="0" cellpadding="1">

<tr class="footer">

<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

<td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>

</tr>

</table>

<br>

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?></td>

</tr>

</table>

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

<br>

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>

</tr>

</table>

<?php

}

?>

---------------------------------------------------------------------------------------

 

so if you put that bit of the header from td to /td into one of the footer tables i reckon it will go.

 

You can also change the filename there from "oscommerce.gif", 'OsCommerce'

to "whateveryouwant.gif", 'WhateveryouWant'

 

as long as you put the file whateveryouwant.gif in catalog/images

 

hope that helps :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...