Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Subcategory problem with too many 'nbsp's


petebosc

Recommended Posts

Hi, I'm a new OSC user and am tuning my OSC site at the moment and had an issue I can't quite figure out. I have my categories on the left hand side of my template...and they list fine...but when you click on a category that has subcategories, the subcategories list...but there's an "nbsp;" listed before each one.

 

Anyone know how I could track down how this is being generated? When I compare the source of the page without any subcategories showing and one WITH a subcategory, the subcategory one has 4 'nbsp;' strings in the source. Just not sure where it's getting this...did it go into the db like this somehow, or is it in the php someplace?

 

Any help is appreciated

Pete

Link to comment
Share on other sites

you mention "template" .... normally this is in the upper part of includes/boxes/categories.php (2 sets of   added there for each indentation), but if you have a template it may be header.php.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

perfect ... for about 80% of all templates it's in header.php ;-)

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...