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

Lack of EE hooks - need to modify menu structure

Development and Programming

Adrian Macneil (Crescendo)'s avatar
Adrian Macneil (Crescendo)
28 posts
15 years ago
Adrian Macneil (Crescendo)'s avatar Adrian Macneil (Crescendo)

There seems to be a massive lack of ExpressionEngine hooks.. is it just me?

For example, I need to modify the CP menu structure depending on certain conditions. There are no hooks at all in either Cp.php or Menu.php. Has anyone tried to do this before?

Also, how would I go about modifying the control panel homepage, without editing the cp theme file? What if we wanted to add a few dynamically generated links to it for a client?

Thanks for any solutions 😊

       
DavyArnold's avatar
DavyArnold
2 posts
15 years ago
DavyArnold's avatar DavyArnold

I was just about to post asking the same questions. Would a full blown module/plugin be able to modify the menu/home page? It makes sense for extensions to play this role.

       
Adrian Macneil (Crescendo)'s avatar
Adrian Macneil (Crescendo)
28 posts
15 years ago
Adrian Macneil (Crescendo)'s avatar Adrian Macneil (Crescendo)

Nope there’s no way for a module or plugin to do it either. Don’t even get me started on this module/plugin/extension/add-on/accessory/spare-change differentiation that goes on though! So pointless…

Looks like I’m going to resort to injecting javascript using an accessory, plus a module to display the settings page. shudders

       
DavyArnold's avatar
DavyArnold
2 posts
15 years ago
DavyArnold's avatar DavyArnold

I was thinking, since CP themes are on a profile basis, it might be possible to create a theme with the menu/look that we want and then just assign it to users.

       
Adrian Macneil (Crescendo)'s avatar
Adrian Macneil (Crescendo)
28 posts
15 years ago
Adrian Macneil (Crescendo)'s avatar Adrian Macneil (Crescendo)

Yeah that is possible if you only want to modify the Control Panel display page, but it’s no good if you want to modify the data that is being displayed, or want to add data to a page.

       

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.