F
Filament7mo ago
Danny

Dropdown items Sidebar

Is it possible to put certain Resources as a dropdown item for a min resource item? for example, im making a wordpress based CMS and i have Post and Category now i want the Category resource as a dropdown item under Post How would i do something like that?
11 Replies
Danny
DannyOP7mo ago
thanks
Marcel Gavalier
Marcel Gavalier2mo ago
Hello there! i tried to find the solution. It is possible to use Clusters with dropdown for children? It is very unpleasant to have 2 sidebars. No more space for actual table content. Our actual structure which we try to reproduce into filament is: - Block like "Products" - Resource (Products type like: Shoes) - Items - types - .... - Settings - ..... - Another block like "Web page content" - Resource (Blog posts) - Items - types - .... - Settings - ..... Thank you!
Marcel Gavalier
Marcel Gavalier2mo ago
This is how it looks like when i use Clusters (which make sense for broad categorisation) So it is possible to have Cluster Sidebar item as collabsible with all childs inside it? Instead of separate sub-nav sidebar (in fact middlebar 😄 ) Note: There is no real structure, because this is test case.
No description
Marcel Gavalier
Marcel Gavalier2mo ago
And is even worse becouse if i have full table of items the "Sub navigation" header is scrolled away with actual items.
No description
toeknee
toeknee2mo ago
GitHub
Add Support For Multilevel Menu by Nuhel · Pull Request #4650 · fil...
Add Support For Multilevel Menu Using Advanced Navigation Menu. Add below code to any registered service provider boot method for testing. ` Filament::serving(function () { Filament::navigation(fun...
Tresor
Tresor2mo ago
You can use clusters instead of on this images
Marcel Gavalier
Marcel Gavalier2mo ago
Still do not see how i can use clusters with dropdown in main sidebar...
toeknee
toeknee2mo ago
You can't use clusters but it allows a 3rd tier menu
Marcel Gavalier
Marcel Gavalier2mo ago
I already see many YT videos how to do 3rd (v3) but still i do not understand, why clusters childs can not be used as "2nd" of cluster itself. Its create whole new menu (sub-menu) which take bunch space on viewport. Only help is to use fully-collabsible main sideba. Dropdown menu will be so much easier to work with.

Did you find this page helpful?