Broadsword Posted September 14, 2005 Share Posted September 14, 2005 Hello, I'm still fiddling with my site and want my 'Catergories' box to look like this here - https://www1.securesiteserver.co.uk/toerag/...8f8d0814c39656c so that when you click on one of the categories they are just displayed in the centre rather than also displaying the sub-categories like this http://grannysspeedshop.co.uk/catalog/index.php?cPath=1 Thanks. PS - Hope that makes sense! Link to comment Share on other sites More sharing options...
Broadsword Posted September 23, 2005 Author Share Posted September 23, 2005 Hello, I'm still fiddling with my site and want my 'Catergories' box to look like this here - https://www1.securesiteserver.co.uk/toerag/...8f8d0814c39656c so that when you click on one of the categories they are just displayed in the centre rather than also displaying the sub-categories like this http://grannysspeedshop.co.uk/catalog/index.php?cPath=1 Thanks. PS - Hope that makes sense! <{POST_SNAPBACK}> As im awake and been trying to work this out (with no luck!) i thought i'dbump this up in case someone can now shed some light. Any ideas anyone? Link to comment Share on other sites More sharing options...
Broadsword Posted September 27, 2005 Author Share Posted September 27, 2005 I surely can't be the only person wanting this so i thought i'd post the solution that i found while hunting though the posts here. add in te file categories.php the following code after the code: function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; if ($tree[$counter]['level'] == 1) { if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } return; } Link to comment Share on other sites More sharing options...
Guest Posted September 27, 2005 Share Posted September 27, 2005 If you don't make sub catagories then you won't have subcatagories. Then you won't see subcatagories. Problem solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.