paulcchp84dr Posted August 13, 2005 Posted August 13, 2005 Hi All Something strange has happened on the catagories box and other heading boxes. A 1 has suddenly appered in front of the text so now it looks like "1Categories". I have found there is problem with randon "n" appaearing and checked the code to make sure that it has no spaces but I'm not getting "n"'s and the 1 is confinded to the box headings. Any ideas?? Thanks
Jack_mcs Posted August 13, 2005 Posted August 13, 2005 The n problem is usually caused by using the file manager in admin, which you shouldn't use. I haven't heard of it creating 1's though. Butif the problem is just in your categories box, then tak a look in includes/boxes/categories.php. You should be able to see where the 1 is being added, unless it is coming from an included file. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
vipes Posted August 27, 2005 Posted August 27, 2005 I was getting the 1 at the beginning of my Catagories box, and after looking through the code i couldnt find a one. However i found this line on line 68: new infoBoxHeading($info_box_contents, true, false); I think this has to do with little images on the outside of the headings of the box that allow you to make it have a shape. Since i removed those images which give it shape, it replaces it with a number one. I simply set it to false and it was all fixed! So it should look like this to be fixed: new infoBoxHeading($info_box_contents, false, false); Mark
Wendy James Posted August 27, 2005 Posted August 27, 2005 The 1 appears when you edit the catalog/includes/classes/boxes/php when trying to remove the right or left sides and not doing it properly. You can set it to false as stated above or you can replace your infobox images with transparent gifs so you can keep a "space" from either side or just change the image to be whatever you want to create custom corners. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
schlegk Posted April 8, 2008 Posted April 8, 2008 The 1 appears when you edit the catalog/includes/classes/boxes/php when trying to remove the right or left sides and not doing it properly. You can set it to false as stated above or you can replace your infobox images with transparent gifs so you can keep a "space" from either side or just change the image to be whatever you want to create custom corners. I've had this problem before and used this fix for it with a different website. Now this fix is not working. Any help please? I had just installed the More Category Boxes contribution and then I got the 1Categories showing up in the Category box header. Thank you!
schlegk Posted April 8, 2008 Posted April 8, 2008 I've had this problem before and used this fix for it with a different website. Now this fix is not working. Any help please? I had just installed the More Category Boxes contribution and then I got the 1Categories showing up in the Category box header. Thank you! Ok I figured it out. Had to change the newly uploaded file that came with the More Categories contribution. Karim
Recommended Posts
Archived
This topic is now archived and is closed to further replies.