Jump to content

Show menu item only to users with certain roles


gebeer
 Share

Recommended Posts

OK, bummer. Blame on me not checking the source and stealing your time. Can I buy you a beer/soda/coffee?

I'm using same menu code in a different project where no problems with menu rendering appeared so far. Actually I took the code from here.


Found it: I had commented out a part in the rendering function that prevented displaying pages with children. >:D Slapping myself hard now.

Credits for solving this go to Soma.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...