We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Hide Main Menu (Add-Ons) but keep access to a menu item (Mailinglist) thru added button

How Do I?

Karel Schoonejans's avatar
Karel Schoonejans
5 posts
10 years ago
Karel Schoonejans's avatar Karel Schoonejans

For certain members I want to have a button for the Mailinglist, but I don’t want the Add-Ons button visible for UI simplification.

  1. As admin I set “Can access ADD-ONS section”, “Can access ADD-ONS: Modules” and “Can access module: Mailing List” to Yes.
  2. I log in as the member and add the shortcut buttons to the menubar.
  3. Log back in as admin.
  4. But then when I set the access to “Can access ADD-ONS section” (and “Can access ADD-ONS: Modules”) to No, the member can’t use shortcut to the module anymore because it’s restricted too.

Is this possible in EE2 to hide the top level menu buttons but add buttons for menu items of that hidden menu?

tnx Karel

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
10 years ago
Robin Sowell's avatar Robin Sowell

It’s not possible natively, but you should be able to do it with an extension using the cp_menu_array hook- which would take some PHP.

I would bet one of the menu related add-ons could do this if you don’t want to roll your own. I haven’t used any myself so I can’t recommend a specific one as an exact fit, but take a look and check with a few of the developers and I’d bet you’ll find a good option.

Though note- I wouldn’t expect this to prevent direct access to the add-on modules page. It’s just going to take that out of the menu. So if that’s a security concern, you’ll likely need something more extensive.

       
Karel Schoonejans's avatar
Karel Schoonejans
5 posts
10 years ago
Karel Schoonejans's avatar Karel Schoonejans

Thanks Robin,

The Zoo Flexible Admin add-on seems indeed the solution. Only the 28$ + 8$ timed license is holding me back, because it was purely for cosmetic purposes.

I’ll check the cp_menu_array hook approach maybe later. The deadline is getting closer 😖

Regards, Karel

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.