My admin navigation...

Robbo

Well-known member
My admin navigation isn't working as expected. The problem is that when I click on the root item for my mod it doesn't show the linktree or sidebar for that parent.

What I mean in case that isn't clear is say when you click applications from the acp you get the navigation tree for applications. Mine is still showing the home navigation tree but showing my app.

If no one has a quick answer then I'll post screenshots of my navigation items.
 
You have to define it in the route as 3. parameter
for example to get the applications menu:
PHP:
<?php

class Ragtek_InfoPage_Route_PrefixAdmin_Info implements XenForo_Route_Interface {

    public function match($routePath, Zend_Controller_Request_Http $request, XenForo_Router $router) {
        return $router->getRouteMatch('Ragtek_InfoPage_ControllerAdmin_Info', $routePath, 'applications');
    }

}
 
Ah I see. Was going to look at the route but thought it wouldn't be there so never bothered.

Thanks.
 
Top Bottom