kimi Posted December 7, 2004 Posted December 7, 2004 I'm trying to set the site up and I tried changing the Box Headers with images. I've followed the method prescribed at oscommerce.info however now i get this irritating "1" next to my image and it throws a background on the previous image. pls see http://www.pinc.ws/catalog/ i've checked thru all my scripts, but doesn't seem like there's anything amiss. would much appreciate any help. cheers!
Jan Zonjee Posted December 7, 2004 Posted December 7, 2004 now i get this irritating "1" next to my imageActually the (1) is the number of products in the category: <td class="boxText"><a href="http://www.pinc.ws/catalog/index.php?cPath=22">Ear Rings-></a><br><a href="http://www.pinc.ws/catalog/index.php?cPath=21">Other Accessories</a> (1)<br></td> You can turn that off in the admin section -> Configuration -> My Store -> Show Category Counts -> false
kimi Posted December 8, 2004 Author Posted December 8, 2004 thanks for the help, but i'm not talking about the product count. I'm referring to the headers which i have used images. "Information" and "Products" There is an extended background with a white "1" and I can't seem to remove it.
kimi Posted December 8, 2004 Author Posted December 8, 2004 <!-- categories //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="infoBoxHeading">1</td> <td width="100%" class="infoBoxHeading"><img src="images/cat.jpg"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td class="boxText"><a href="http://www.pinc.ws/catalog/index.php?cPath=22">Ear Rings-></a><br><a href="http://www.pinc.ws/catalog/index.php?cPath=21">Other Accessories</a><br></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- categories_eof //-->
Jan Zonjee Posted December 8, 2004 Posted December 8, 2004 There is an extended background with a white "1" and I can't seem to remove it.OK, I see it in the code, but it doesn't show up in Safari. Actually, I get the impression that in a standards compliant browser like Firefox or Safari your site might show up different than you think. The "1" must be caused by the PHP code IMHO. You seem to have changed quite a bit a bit of the code for the boxes....
kimi Posted December 8, 2004 Author Posted December 8, 2004 OK, I see it in the code, but it doesn't show up in Safari. Actually, I get the impression that in a standards compliant browser like Firefox or Safari your site might show up different than you think. The "1" must be caused by the PHP code IMHO. You seem to have changed quite a bit a bit of the code for the boxes.... <{POST_SNAPBACK}> It shows up in Firefox and IE alike...
Jan Zonjee Posted December 8, 2004 Posted December 8, 2004 It shows up in Firefox and IE alike... You are right, I just didn't spot it. It shows up in all browsers. It is left of the image "products" isn't it? Must be something in the code...
kimi Posted December 8, 2004 Author Posted December 8, 2004 You are right, I just didn't spot it. It shows up in all browsers. It is left of the image "products" isn't it? Must be something in the code... <{POST_SNAPBACK}> bingo... that's the "1" i'm talking about... i can't seem to find the problem in the code under categories.php
kimi Posted December 8, 2004 Author Posted December 8, 2004 problem solved. new infoBoxHeading($info_box_contents, true, false); new infoBoxHeading($info_box_contents, [B]false[/B], false); thank you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.