Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Show only main categories
Is it possible to list ONLY the main/root categories? Or have some dropdown menu...?
0
Comments
how add categories?
How to show the main categories only? Can anyone help? Thanks.
You would need to disable show nested categories I believe. From the categories options page in the dashboard.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I have tried from 1 level deep to never and also check 2 boxes but not working. It must be the code. Anyone know how to change it?
@digihub What version of vanilla are you running?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Version 2.0.18.8
Ok I think I know what is happening. Can you try my plugin Categories dropdown instead ?
This plugin sends the categories to the discussion link on the menu maybe that has something to do with it, My plugin sends a categories link to the menu . Maybe it has an effect either way I would like to see if it also happens with mine.
http://vanillaforums.org/addon/categoriesdropdown-plugin
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Under Dashboard->Categories->Place nested categories in a comma-delimited list when they are [more than 1 level deep].
This setting affects the categories/all layout. This specific plugin does not respect this setting. You will have to modify it to respect this.
EDIT - Cross posted with @vrijvlinder, you would have to modify her's as well.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thanks vrijvlinder and hgtonight. I have tried CategoriesDropdown 1.2 with all the possible methods but no luck. I am confused that how to place nested categories in a comma-delimited list?
Hmm well thanks for testing it . I think it means when you ad the nested category to use
,commas,
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I understand that. I am a beginner and not sure where I should put it to?
I could figure out a way with css to make them not display in the drop down, can you link me?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
That would be great if you can make it work with css. Thanks
link please ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Oh sorry I am working on the site locally and I don't have a link.
Ok well then I need a link to someone's site where they have this going on, so I can look at the code and create some css to get it done.
I don't have enough categories to have nests in my forum. But if you want to wait Until either someone has this for me to see, or for me to build it and add the option to the plugin.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I looked at this and thought it would be easy enough.
in
/plugins/Categories2Menu/class.categories2menu.plugin
before line 96 addbefore line 101 add
finally, before line 110 add
If you do this successfully, your menu will now respect the Category depth settings.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Wonderful! It really works. Thank you so much hgtonight.
vrijvlinder, I will try to setup the site and give you the link tomorrow. I am also interest in your plugin with the css solution. I am new to Vanilla and I think that I have discovered a cool place to learn more new stuffs. Thanks again.
That is great ! welcome to the community
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌