I have the following scenario:
- I have a sidebar that contains my mainmenu.
- Menuparents are linked to
- Those parents can be expanded using superfish (accordion).
When a user has no permissions to a menuitem, the item hides correctly.
The problem: When every item of a parent is hidden, the parent still shows up. It still has the "expandable" icon from superfish, but clicking on it won't do anything (obviously, because all items are hidden).
How do I hide those menuparents properly ?