Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Replacing 'Date' & 'Visitors Since' in the footer w/jpeg?


dragon5

Recommended Posts

Hello,

In catalog/includes/footer.php delete (near the top of the page)

 

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

 

and add

 

	<td><img border="0" src="image address" width="514" height="57"></td>

 

 

This wont delete the footer but it will remove the date and counter and add the image you want into the coloured bar, where the date and counter would normally be. If you get rid of the footer completely it would also remove the ad banners at the bottom of the page.

 

Hope this helps,

Digital Warfare.

Link to comment
Share on other sites

Hello,

In catalog/includes/footer.php delete (near the top of the page)

 

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

 

and add

 

	<td><img border="0" src="image address" width="514" height="57"></td>

This wont delete the footer but it will remove the date and counter and add the image you want into the coloured bar, where the date and counter would normally be. If you get rid of the footer completely it would also remove the ad banners at the bottom of the page.

 

Hope this helps,

Digital Warfare.

 

 

Thanks Digital. Worked perfectly! I knew the code, just wasn't sure where to put it.

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...