Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Eyes Required!


mark27uk3

Recommended Posts

Posted

Hi Guys,

 

When I try and re-instate the welcome greeting it does not spread out over the page like it should. I know it has something to do with the html I have inserted but for the life of me I can not see what I am missing. The first piece of code I have listed below shows what I have inserted into the index.php.

 

I would appreciate it if one of you guys would have a look at and tell me whats screwing the tables up.

 

<td width="207">
           <p align="center"><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); ?></p>
       </td>
       <td width="206">
           <p align="center"><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT1); ?></p>
       </td>
       <td width="210">
           <p align="center"><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT2); ?></p>
       </td>

 

 

<tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="main" align="center"><?php echo tep_customer_greeting(); ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td>

         </tr>

       <td width="207">
           <p align="center"><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); ?></p>
       </td>
       <td width="206">
           <p align="center"><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT1); ?></p>
       </td>
       <td width="210">
           <p align="center"><?php include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT2); ?></p>
       </td>
   
<tr>
<td class="main"><?php //include(DIR_WS_BOXES . 'display_product.php');?></td>
</tr>
<tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td class="main"><?php //include(DIR_WS_BOXES . 'display_product.php');?></td>
         </tr>
<?php
   //include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>
       </table></td>
     </tr>
   </table></td>

 

Thanks

 

Mark

Lifes a bitch, then you marry one, then you die!

Posted

Cheers Gary,

 

I knew it was something simple, I just could not see the would for the trees!

 

Mark

Lifes a bitch, then you marry one, then you die!

Posted

No problem. What is "Star Products" ?

 

Edit: No worries, I found the Star contribution! Looks interesting.

Posted

The star product contrib allows you to display a product on the main page that you select through admin.

 

I have modified it to display the product like you see on my site. Then I basically just installed it another couple of times changing all the bits of code and inserting new database tables for each.

 

If you install it and would like a copy of my modified file then just let me know

 

Mark

Lifes a bitch, then you marry one, then you die!

Archived

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

×
×
  • Create New...