Guest Posted February 28, 2004 Share Posted February 28, 2004 I would like to change the way the catogeries table is formated. Currently the catogeries are listed in a conventional menu manner (<br />), I would prefer to list the catogeries horizontal accross the screen, with out the catogeries header or using the pixel gif. as Hardware (2) software (5) DVD's (9) etc I have traked the script through to catogereies.php but at this stage I am a bit stuck. Is there any one out there who can give me some advice. Thanks Jimmy Link to comment Share on other sites More sharing options...
Harald Ponce de Leon Posted March 5, 2004 Share Posted March 5, 2004 This can be done easily with the new categoryTree class that is in CVS. Something like this should get you started: $osC_CategoryTree = new osC_CategoryTree; $osC_CategoryTree->setMaximumLevel(1); $osC_CategoryTree->setCategoryPath($cPath, '<font color="#ff0000">', '</font>'); $osC_CategoryTree->setParentGroupString('', ''); $osC_CategoryTree->setChildString('', ' '); $osC_CategoryTree->setShowCategoryProductCount(true); echo $osC_CategoryTree->buildTree(); , osCommerce Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2004 Share Posted March 7, 2004 Thanks Harald : I will start here. I am new to OSC and to PHP, I find the osc site and community boards really helpful, I agree with some of those who have made contributions that the problem with OSC (if there is one) is that you can tell a OSC shop a mile away by the generic nature of the base program. I have always strived to make my HTML site unique or even bespoke (I design sites as a hobby), and therefore before I unleash my attempt at an e-commerce on the world I am trying to 're-design' the look and feel. I threw myself straight into the code and started to get out of my depths, since then I have purchased a few books on PHP and visited the odd site, It is amazing how soon you can start to get a grips with pre-written code, although it is more difficult to write from scratch! If there are newbies out there all I can say is do not get dishearted when you hit a brick if you can not find the answer on a board there is always a nice OSCer out there to help you. Jimmy Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2004 Share Posted March 7, 2004 Just a bit more....... I have mentioned getting away from the standard look, the featured shop does just that http://paulharris.paulharris.com/ really nice. Jimmy :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.