![]() |
Have categories that don't show up in the main menu
Hello,
I have recently set up a gift center on my site and want to group products in different categories. However, I don't want these categories to show up on my main menu (otherwise it will become too long!) Is there a way to create a category and link to it from a static page, but not have that category show up in your main menu? Any help would be appreciated. Thanks, Jennifer |
Make the category hidden. There is a mod for this in the Custom Mods forum.
|
Modify "skin1/customer/categories.tpl":
After: "{section name=cat_num loop=$categories}" Add: "{if $categories[cat_num].order_by lt 20}" After this modification only categories with a "order_by" in the admin-backend lower than ("lt") 20 will be displayed. Set every order-by-number of the categories you don't want to show in the menue higher than 20. |
sonoro -- I couldn't get that to work. Here's the code for my categories.tpl file:
Code:
{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *} Any idea how I can make it work? I see there is a commercial mode but I don't really need this working bad enough to pay $40. It would be nice if there was a simple solution though. Thanks for any help you can give! Jennifer |
There is a free mod for this in the Custom Mods forum.
|
I went through that entire thread and tried everything mentioned but I was unable to get it to work. It was originally started for version 3.x and then some comments were made about 4.x but I wasn't able to even find the code I needed to change.
Thanks though. If I knew more coding I'm sure that thread would have told me everything I needed to know! Jennifer |
All times are GMT -8. The time now is 04:23 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.