petebosc Posted November 22, 2006 Posted November 22, 2006 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
petebosc Posted November 22, 2006 Author Posted November 22, 2006 I only saw one reference to "nbsp;" and removing it didn't affect the category listing...
petebosc Posted November 22, 2006 Author Posted November 22, 2006 Sure, I'll send you a PM since the site isn't open to the public yet....
♥Monika in Germany Posted November 22, 2006 Posted November 22, 2006 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 ...
petebosc Posted November 22, 2006 Author Posted November 22, 2006 It ended up being the header.php file...! Thanks for your suggestions everyone! $categories_string .= '<tr><td><img src=images/m12.gif width=4 height=6 align=absmiddle>nbsp; ';
♥Monika in Germany Posted November 22, 2006 Posted November 22, 2006 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 ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.