Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sticky number


kimi

Recommended Posts

Posted

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!

Posted
now i get this irritating "1" next to my image
Actually 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

Posted

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.

Posted
<!-- 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 //-->

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

 

It shows up in Firefox and IE alike...

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

 

bingo... that's the "1" i'm talking about...

 

i can't seem to find the problem in the code under categories.php

Posted

problem solved.

 

new infoBoxHeading($info_box_contents, true, false);

 

 

 

new infoBoxHeading($info_box_contents, [B]false[/B], false);

 

 

thank you.

Archived

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

×
×
  • Create New...