soccermeister Posted December 6, 2009 Posted December 6, 2009 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. 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> "
soccermeister Posted December 6, 2009 Author Posted December 6, 2009 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?
multimixer Posted December 6, 2009 Posted December 6, 2009 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 My community profile | Template system for osCommerce - New: Responsive | Feedback channel
soccermeister Posted December 6, 2009 Author Posted December 6, 2009 Doh! I should have known :) Just curious, if I decided not to do an image and just wanted to insert text, how would I modify this?
multimixer Posted December 7, 2009 Posted December 7, 2009 You should take a look at the Header Tags SEO contribution, it will add titles and descriptions to your categories and also handle all the meta stuff, so you'll need it anyway My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.