• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

My admin navigation...

Robbo

Well-known member
#1
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.
 
R

ragtek

Guest
#2
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');
    }

}