Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

WANT TO ADD IMAGE TO MAIN PAGE


JannieMae

Recommended Posts

Posted

I want to add an image on the main (index) page to the right of the left column.

 

Do I need to use a template for this, or a contribution? I don't want to get started on the wrong foot and make it more complicated than it needs to be. I just need to be pointed in the right direction.

 

Thanks in advance for any advice you can give me.

Posted

Do you mean you want to add another column (between the left column and the center one) or do you want to add an image to the center column? Assuming the latter, open index.php and find

<?php
 } else { // default page
?>
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>

That's where the headingof the center column is created. If you want to add an image there, just add a new row.

 

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

Archived

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

×
×
  • Create New...