bigbadshoppingcarts Posted December 8, 2003 Share Posted December 8, 2003 hi all ive recently setup my cart and all is running well, slowly adding to my products and catagories but now i am finding that the catagory list on the left is getting a bit full and unreadable aswell as not being easy to understand can anyone give idead of maybe bulliting or adding arrows to each catagory or even a new way to make this look better, or even a box around each catagory. to see what i am meaning visit the site at www.abbeycomputer.net/catalog thanks for any help in advace Link to comment Share on other sites More sharing options...
Guest Posted January 16, 2004 Share Posted January 16, 2004 This is what I did to my site to add bullets to my categories and make it more readable, you can see my page at www.nutrition-u-trust.net/index.php. It is not completed at this time but will be shortly hopefully. I edited catalog/includes/boxes/categories.php I first added this comment to get the bullets.(very near the top) (first find the below statement) function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; (right under the above statement add this) $categories_string .= '<li>'; (I then found this statement) if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<b>'; } -> I added a * right after the <br> so it should say ='<b>*'; (then I added a * in the same place in this statement) if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } -> so it reads ='</b>*; (I also put 2 extra in this statement) for ($i=0; $i<$tree[$counter]['level']; $i++) { $categories_string .= " "; } -> so it reads .= " "; cheers all... P.S. you may want to make your left_column boxes wider when you do this. Link to comment Share on other sites More sharing options...
Guest Posted January 16, 2004 Share Posted January 16, 2004 O.K. did a little research and found a way to add the images can not take full credit though, you will find the other code(s) here http://www.oscommerce.com/forums/index.php?showtopic=65926 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.