Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to remove table_background_images


Remember

Recommended Posts

and none of them work...

 

I figured this would be EASY...but it is NOT working for me...

 

I have deleted ALL of the default images, so I have the red xs left...

 

well NO WHERE...and I mean in the index.php, the the english.php, and all of the individula pages that have images (shipping, create account, etc) is there the title of ANY of these images!!!

 

 

I did a search and found THIS solution

 

starting at line 287
<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>

and at line 310 change it to
<tr>
<td><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
</tr>

 

but I do not have that code in my index.php....

 

I know that I can save a transparent image and upload it...but there are about 25 default images I would have to do it for...and I would rather delete them then just stick a bandaid over them if possible!!

 

Thanks

Link to comment
Share on other sites

and none of them work...

 

I figured this would be EASY...but it is NOT working for me...

 

I have deleted ALL of the default images, so I have the red xs left...

 

well NO WHERE...and I mean in the index.php, the the english.php, and all of the individula pages that have images (shipping, create account, etc) is there the title of ANY of these images!!!

I did a search and found THIS solution

 

starting at line 287
<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>

and at line 310 change it to
<tr>
<td><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
</tr>

 

but I do not have that code in my index.php.... 

 

I know that I can save a transparent image and upload it...but there are about 25 default images I would have to do it for...and I would rather delete them then just stick a bandaid over them if possible!!

 

Thanks

 

it is that easy, in index.php you have this line :

 

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

 

delete it.

Treasurer MFC

Link to comment
Share on other sites

<?php
/*
 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', '<P align=center><FONT color=#7d8f68 size=6>Welcome to </FONT></P>
<P align=center><FONT size=6></FONT> </P>
<P align=center><FONT size=7><IMG height=103 alt="" hspace=0
src="http://rememberthemoments.com/images/remember_logo2.gif" width=446
border=0></FONT></P>
<P align=center><FONT size=7></FONT> </P>
<P align=center><FONT size=5><FONT color=#758f68>Please excuse our messy scrap
space<STRONG>!</STRONG></FONT> </FONT></P>
<P align=center><FONT color=#7d8f68 size=5>When our project is complete we will
be offering a variety of scrapbook supplies from a large range of popular
companies.</FONT></P>
<P align=center><FONT color=#794b64 size=6>We do not remember days, we remember
moments. -Cesare Pavese </FONT></P>  <table border="0" width="100%" cellspacing="5" cellpadding="2">  <tr>    </TR></TABLE><BR></FONT>.'); 
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); 
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); 
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 
'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { 
define('HEADING_TITLE', ' ');; define('TABLE_HEADING_MODEL', 'Model'); 
define('TABLE_HEADING_PRODUCTS', 'Product Name'); 
define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); 
define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 
'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); 
define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There 
are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There 
is no product available from this manufacturer.'); 
define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', 
'<B>Show:</B>'); define('TEXT_BUY', 'Buy 1 \' '); define('TEXT_NOW', '\' now'); 
define('TEXT_ALL_CATEGORIES', 'All Categories'); 
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth 
== 'top') { define('HEADING_TITLE', ''); } elseif 
($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>

 

This is the ENTIRE code from my idex.php

 

I do not see the code that everyone has listed anywhere...if you can point it out to me if I have overlooked it that would be great! Thanks!

Link to comment
Share on other sites

Okay...my last post was on the WRONG thread!!!  :rolleyes:  SORRY!!

 

I still need help getting the background image to go away!

 

Thanks!!

 

 

you're in too far. the right directory is catalog/index.php :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...