Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding images to colum_right


collectandkeep

Recommended Posts

Posted

Does anyone have the script to adapt the file column_right so that i can add an image in between my current info boxes so it appears on the right side of the website. if possible i would like to be able to link the image to a php file for customers to click on the image and see related php file

 

Partial script of the colum_right file is shown below for example of what i am trying to do.

 

 

 

include(DIR_WS_BOXES . 'languages.php');

 

SCRIPT TO BE ADDED HERE IF POSSIBLE

 

include(DIR_WS_BOXES . 'currencies.php');

 

 

 

any help would be appreciated regards Jon

Posted

This should do what you want.

include(DIR_WS_BOXES . 'languages.php');
?>
<tr>
         <td>
           <?php echo '<a href="' . tep_href_link(FILENAME_SOMEFILE, '', 'NONSSL') . '">' .  '<img border="0" src="images/some_image.jpg" alt="Some Text" width="154" height="122"> ' . '</a>'; ?>
         </td>
       </tr>
<?php
include(DIR_WS_BOXES . 'currencies.php');

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

dear Jack_mcs

 

you are fantastic mate

 

thanks for everything ive done it in minutes. this is really gonna help me over next few days.

 

for anyone else who is reading this praise this person !

 

regards Jon

Archived

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

×
×
  • Create New...