Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where do i edit this code?


afinity

Recommended Posts

In my source code of my index i see

<table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"></td>
           <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="57" height="40"></td>

         </tr>
       </table></td>
     </tr>
     <tr>
       <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>

           <td class="main"></td>
         </tr>
         <tr>
           <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
         </tr>
         <tr>

How do i delete that information so that there is not wasted space on the page?

Link to comment
Share on other sites

If you delete all that your format will fall apart. Theres not enough wasted space there to make a millisecond of difference.

Its located at the bottom of your index.php file

Follow the community build:

BS3 to osCommerce Responsive from the Get Go!

Check out the new construction:

Admin Gone to Total BS!

Link to comment
Share on other sites

  • 1 month later...

do you want to not have a table background or do you want to change it to something else??

 

can you post the code for your index and a link to your site..

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

New here so be gentle, i too need to edit that bit, i particularly wand to get rid of "table_background_default.gif" but i can find it in the index php, i have managed to find the code for all the other clipart. any ideas?

In index.php of stock osc it's around line 290. Look for

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

If don't want you can comment it out like so

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

Link to comment
Share on other sites

why not just replace the table_background images you dont want with transparent gifs and then there would be no need to remove the code.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...