stevek1977 Posted February 7, 2003 Share Posted February 7, 2003 Im trying to do two things. 1) take the categories.php and remove all of the subcategories so that when you click on a category it opens up like normal, but does not list the actual subcategories in category.php. 2) take the categories.php and remove all categories so that it only shows subcategories. i appreciate your help. Link to comment Share on other sites More sharing options...
stevek1977 Posted February 8, 2003 Author Share Posted February 8, 2003 anyone have any thoughts? Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 Wish I could help ya! I want to remove all the sub-categories from the pages of the categories. Example: I have a clothing store and I have misses-plus- and mens wear. In the left column I have all the categories and sub-categories. When they click on misses it shows the sub-categort links on that page. I want it to remove those links and just put info about the misses section since they can access the subs from the menu on the left, I find it useless for the sub-categories to be listed on the category page of Misses-Plus-Mens. If anyone knows how to remove the sub-categories from the page, please let me know :) Link to comment Share on other sites More sharing options...
stevek1977 Posted February 8, 2003 Author Share Posted February 8, 2003 we are trying to do two different things. i actually want to remove the subcategories from the menu. so when you click on a category it expands the menu with the sub categories below it. i dont want that subcategory to be below it. i just want it to open the page and not have the subs there. Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 not quite following you there. What do you want to do to the pages? What do you want to do to the left column? Link to comment Share on other sites More sharing options...
stevek1977 Posted February 9, 2003 Author Share Posted February 9, 2003 in the categories.php file that is used in the left colum is what i want to make changes to. basically when you click on a category and it drops down the sub-menu of that category. i want to make it not do that. i only want the categories on the left hand side. Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2003 Share Posted February 9, 2003 oh ok, I have it where they are showing but don't drop down. I'm sure there is a contrib or something for what you want. Have you tried looking there? Link to comment Share on other sites More sharing options...
stevek1977 Posted February 9, 2003 Author Share Posted February 9, 2003 i have looked around but havent been able to find anything, thats why i posted. i have been reading the forums over here for like two days trying to find anything. Link to comment Share on other sites More sharing options...
stevek1977 Posted February 10, 2003 Author Share Posted February 10, 2003 i just went through the contribs again and i dont see anything that will work for my needs. drats! anyone have any suggestions on how to remove the subcategories from categories.php? Link to comment Share on other sites More sharing options...
prab Posted January 21, 2004 Share Posted January 21, 2004 Hello friends did got the solution for this prob? if so pls let me know how did u make it. thanks in advance, regards, Prab Link to comment Share on other sites More sharing options...
WillemS Posted August 25, 2005 Share Posted August 25, 2005 Im trying to do two things. 1) take the categories.php and remove all of the subcategories so that when you click on a category it opens up like normal, but does not list the actual subcategories in category.php. 2) take the categories.php and remove all categories so that it only shows subcategories. i appreciate your help. <{POST_SNAPBACK}> Long time ago...but maybe usefull 1) 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; } 2) 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'] == 0) { 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 28, 2005 Share Posted September 28, 2005 Long time ago...but maybe usefull1) 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; } 2) 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'] == 0) { if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } return; } thanks for that!!! Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2007 Share Posted August 28, 2007 Excellent, been looking for this. Thanks Link to comment Share on other sites More sharing options...
transmutation Posted September 27, 2007 Share Posted September 27, 2007 I've read all this and am a little confused. Here's what I would like to do ... REMOVE the subcategory list from the category page. Subcategories in the main (left) menu are fine. At the very least I would like to remove the picture requirement from the subcategotries if they must be listed. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.