Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add image to column_right?


soapwench

Recommended Posts

Posted

Hello, semi-newbie here...(been lurking a while)

I have my site done, it was actually easier than I thought it would be to put it all together. I am no php whiz. I can find my way around html OK, but until I did this site, I didn't even know what php was!! Now I would like to add a small image linked to another site to 'column_right.php', underneath the reviews box. The image is the logo of an organization I belong to, and it must be linked to the organization's site.

Would I need to add a new box to do this? Is there another way? I have done a bit of searching, but 'add new header image' is all I come up with. Thanks in advance for any suggestions!!

 

See attached screenshot.

 

FPO.gif

Posted

you could add it to includes/column_right.php after the last ?> like this example which is not linked but adding the href for the link is straight forward.

 

  if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {
 //  include(DIR_WS_BOXES . 'languages.php');
 //  include(DIR_WS_BOXES . 'currencies.php');
 }
?>
<tr>
<td>
<?php
echo tep_image(DIR_WS_IMAGES . 'sigg_logo.jpg', SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"');
?>
</td>
</tr>

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.

Posted
you could add it to includes/column_right.php after the last ?> like this example which is not linked but adding the href for the link is straight forward.

Thanks for the super-quick response!! I will try that right now...

Archived

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

×
×
  • Create New...