Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"x Prod" shows in upper right corner


COOLumbia

Recommended Posts

that is because you didn't specify an image for the category or something is screwy maybe in the configuration file.. i think.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Its not the index page where the problem is hes having. Its in the Categories. click on one of the Categories and you will see that is table)background.gif is missing.

 

Then link about to the contribution i left him should do the trick.

Maybe. All I see when I look at souce code is:

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

 

As you can see, there is no image specified. Only the path. What do you think is causing that?

 

Top level categories should be specified as "images/category/[mypc.whatever]

GEOTEX from Houston, TX

 

(George)

Link to comment
Share on other sites

He deleted the images some how. The link i listed will fix it to where he can put his own images in and if he doesnt nothing shows but takes the emtpy box with red X away.

Yes, but can't he also accomplish that through Admin/configuration/images by setting Images Required to "false"?

 

G

GEOTEX from Houston, TX

 

(George)

Link to comment
Share on other sites

It's too late here. After 2 AM. Need to quti. If you don't solve the problem for him, will look at this in the morning.

 

:-)

 

G

GEOTEX from Houston, TX

 

(George)

Link to comment
Share on other sites

Maybe. All I see when I look at souce code is:

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

I think George is correct. It's not that the images aren't there (they are); I downloaded the contribution that replaces them with transparent gifs, but all the files to be replaced were already there. There is probably an error in some contribution that incorrectly changed the above lines; I just have to find out which php source file has this incorrect path (images/) and correct it to put in the full and correct path, I think.

 

Thanks for your help. I'll let you know if I find the php code in error.

Link to comment
Share on other sites

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

 

I've looked through all the php files and could not find where this code is generated. If I could find it, I could just remove the second <td><img></td> and get rid of it. I don't know why it's putting "images/" as the source for the background gif, but the easiest fix might be just to remove it.

 

Does anyone know where this <td><img></td> is located so I can remove it? Or better yet, let me know how I can get it to put the correct gif name instead of just "images/"?

Link to comment
Share on other sites

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

 

I've looked through all the php files and could not find where this code is generated.  If I could find it, I could just remove the second <td><img></td> and get rid of it.  I don't know why it's putting "images/" as the source for the background gif, but the easiest fix might be just to remove it.

 

Does anyone know where this <td><img></td> is located so I can remove it?  Or better yet, let me know how I can get it to put the correct gif name instead of just "images/"?

 

 

the top of all of your main files should have this or something very close... (or atleast they come with this in a stock osc page)

 

      <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_account.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Thanks, Wendy, for all your help.

 

I was able to get around the problem in two ways.

 

The first is to set "image required" to false in ADMIN. The "x Prod" goes away when this is set to false.

 

The second is to set "image required" to true or false, but to specify a CATEGORY image in the CATALOG section of ADMIN. When a category image is specified, this image correctly shows up at the top of the page. (This can be a blank gif)

 

Thanks again.

 

Bob

Link to comment
Share on other sites

See you did it the hard way. The images were not there before. You overwrite it with the contribution then just rename the certain image with the one your want. for example, bot6.gif that you use could be renames as table_background_XXXXX.gif and if would show the same as it does now without all the extra work plus still have your category images if you want them.

Link to comment
Share on other sites

Thanks, Wendy, for all your help.

 

I was able to get around the problem in two ways.

 

The first is to set "image required" to false in ADMIN.  The "x Prod" goes away when this is set to false.

 

The second is to set "image required" to true or false, but to specify a CATEGORY image in the CATALOG section of ADMIN.  When a category image is specified, this image correctly shows up at the top of the page.  (This can be a blank gif)

 

Thanks again.

 

Bob

 

 

You're welcome Bob =)

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...