Guest Posted July 5, 2008 Posted July 5, 2008 Hi Can anyone help please?? Is it possible to put a space between each category name in the category box? If so - how? It looks very crunched up as it is, would look neater if each line had a space between them. I have tried everything I can think of to no avail. On line 54 in the Category PHP it has the <br> command but nothing changes by adding another. Thought this would be simple or am I missing the point? Many thanks for any help in advance for any help. Regards
FIMBLE Posted July 5, 2008 Posted July 5, 2008 Replace it with <hr> nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 Replace it with <hr>nic Hi Nic, tried that but still showing the same. Cheers
FIMBLE Posted July 5, 2008 Posted July 5, 2008 OK Try <br><br> that will do it Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 Hi Nic,tried that but still showing the same. Cheers Just a thought but I am changing the right PHP aren't I? includes/classes/boxes/category.php?
FIMBLE Posted July 5, 2008 Posted July 5, 2008 No its includes / boxes / categories.php Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 OK Try <br><br> that will do itNic Tried that Nic but no luck...Using Firefox Even took the full <br> out and still showed as original. Totally stumped. argghhhhh.
FIMBLE Posted July 5, 2008 Posted July 5, 2008 With Fire fox you often need to empy your cache before you see any changes Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 No its includes / boxes / categories.php I only have includes/ classes/boxes/category.php there is no includes/boxes Nic.
FIMBLE Posted July 5, 2008 Posted July 5, 2008 catalog / includes / boxes is the folder location. the file you are looking for is categories.php there is a classes folder there too. Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 catalog / includes / boxes is the folder location.the file you are looking for is categories.php there is a classes folder there too. The only 'boxes' folder I have Nic is inside the 'classes' folder. The categories PHP I have inside the the 'boxes' folder I am changing but doesn't alter anything at all, cleaned out the cache etc and done all your suggestions but nothing seems to work.
FIMBLE Posted July 5, 2008 Posted July 5, 2008 It should not be there, how modifed is your store? Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 It should not be there, how modifed is your store? How do you mean Nic? I haven't deleted anything, just altered different php's to suit but nothing drastic. the website is at www.homeopharmacy.co.uk if you want to have a look. All the site works - orders everything, it's just that I fancied spacing the names in the Category box. Should have stayed contented!! lol
FIMBLE Posted July 5, 2008 Posted July 5, 2008 In your Colum_left.php what does it say about your categories box? thats where the link comes from Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 In your Colum_left.php what does it say about your categories box?thats where the link comes from Nic if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } //if ((USE_CACHE == 'true') && empty($SID)) //{ // echo tep_cache_manufacturers_box(); //} else { // include(DIR_WS_BOXES . 'manufacturers.php'); // } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); Any help Nic?
FIMBLE Posted July 5, 2008 Posted July 5, 2008 Thats right, It is calling for Categories box at the location catalog / includes / boxes / categories.php it must be there otherwise you would get an error In includes you should see folders named Boxes Classes Functions Languages Local Modules You need the Boxes folder Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 5, 2008 Posted July 5, 2008 Thats right, It is calling for Categories box at the location catalog / includes / boxes / categories.php it must be there otherwise you would get an error In includes you should see folders named Boxes Classes Functions Languages Local Modules You need the Boxes folder Nic I have catalog/includes Classes - Boxes - categories.php Functions Languages - English/German spanish folders Local Modules - order/payment/shipping folders :blush:
bkellum Posted July 6, 2008 Posted July 6, 2008 HiCan anyone help please?? Is it possible to put a space between each category name in the category box? If so - how? It looks very crunched up as it is, would look neater if each line had a space between them. I have tried everything I can think of to no avail. On line 54 in the Category PHP it has the <br> command but nothing changes by adding another. Thought this would be simple or am I missing the point? Many thanks for any help in advance for any help. Regards John, This is a fairly straight forward process. See the Knowledge Base article on how to do this: http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/247 Hope this helped you out, Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
Guest Posted July 6, 2008 Posted July 6, 2008 Thanks guys for the advice and help, it is great to know there are folk out there with the knowledge and willing to help. It is Very Very much appreciated. I sorted it last night at 3.15am! :wacko: This is how, JUST in case anyone else comes up with a similar problem. Thought about what Fimble had said about the structure of the folders and how mine are actually constructed. I use DreamWeaver. Mine were definitely different to what Fimble had said, my 'Box' folder was inside the 'Classes' folder. So....took a look at what the structure was on my server, low and behold the structure was as Fimble had said it should be. Haven't got any idea how my local folder structure got to be different to that on the server BUT pulled the 'Categories.php down - altered it- put it back up - and guess what - it worked straight away!! lol Have now pulled down the full 'box' folder and have it in it's correct place, so I would say if all else fails- check your server files/folders etc and double check everything is in it's right place. It cost me 12 hours yesterday to do, what turned out to be, such a simple task in the finish. I couldn't have done that without Fimbles advice, I would never have realised what was wrong, so again, a big Thank You guys. Kind regards John :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.