0

I have the following scenario:

  • I have a sidebar that contains my mainmenu.
  • Menuparents are linked to route:<nolink>.
  • 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 ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.