Federico Posted March 12, 2018 Share Posted March 12, 2018 Looking for suggestions on how to insert a dropdown menu next to the admin navigation (Pages, Setup, Modules, Access, DropdownMenu), with uikit3 will be something like this one I see how to hook and modify the module page title and the breadcrumb $this->addHookBefore('Process::execute', function (HookEvent $event) { $process = $event->object; $event->wire('breadcrumbs')->removeAll(); $event->wire('processHeadline', 'customTitle'); $event->wire('processBrowserTitle', 'customTitle'); }); but not sure how to hook the main navigation to add new item. I see this executeNavJson in the Hooks methods, but doesn't return enything $this->addHookBefore('Process::executeNavJSON', function (HookEvent $event) { $process = $event->object; // @var Process $process bd($process); // Tracy is not even thrown }); Did I miss any docs for this? Link to comment Share on other sites More sharing options...
Federico Posted March 12, 2018 Author Share Posted March 12, 2018 well after many attempts, I've found that this working solution doesn't work for the Uikit Admin theme, as the latter has no helper file (yet, whereas all others admin theme have). pity! Link to comment Share on other sites More sharing options...
Federico Posted March 13, 2018 Author Share Posted March 13, 2018 At the moment the only way to achieve this in the Uikit Admin Theme is via javascript route, as described by Lahijani in this thread 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now