Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't figure out how to change categories


soccermeister

Recommended Posts

Posted

I'm a newbie to PHP but I've managed to make my way through osCommerce and I have edited everything to my liking. However, I'm running into one issue that I can't seem to figure out how to correct. When I click on a category in the Categories box, the category opens in the middle of the page. On the left side of the middle page it says 'Categories' and on the right it has the name of the category, in this case 'Handbags'. However, the title on the right, only shows 'Ha'. Everything else is truncated. Which file controls the display of this? I should note that I'm using a template.

 

error.jpg

 

I viewed the source code and it looks like this is an image. I'm not sure where it's coming from or which file loads it.

 

"<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading">Categories</td>

<td class="pageHeading" align="right"><img src="images/" border="0" alt="Handbags" title=" Handbags " width="57" height="40"></td>

 

</tr>

</table></td>

</tr>

"

Posted

Of course, as soon as I post this, I figure it out. I found the setting in index.php. I had my categories image size set to the default 57 x 40. I expanded that to 200 x 40 and that fixed that issue.

 

However, looking at the image, it contains two items that I don't want: 1) a border and 2)some sort of little shredder mark in the upper left hand corner. How do I get rid of both of these?

 

error1.jpg

Posted

You don't have any image for categorie "handbags" uploaded, thats why you see what you see: The missing image symbol that can be different from browser to browser (ie a big red X) and the "alt" tag of the image, that you think is the catefory title.

 

You need to make an image with content "handbags" and upload it as the category image for category "handbags". Then everything will work

Archived

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

×
×
  • Create New...