Add navtabs to different route?

Jaxel

Well-known member
I have a route to /portal/, it has it's own navlinks.

I now have a route to /articles/, how do I give this new route the portal navlinks? Without adding a newtab to the header of my website?
 
The tab selection uses the major section which is set in the route. For example:

XenForo_Route_Prefix_Forums

Rich (BB code):
	public function match($routePath, Zend_Controller_Request_Http $request, XenForo_Router $router)
	{
		$action = $router->resolveActionWithIntegerOrStringParam($routePath, $request, 'node_id', 'node_name');
		$action = $router->resolveActionAsPageNumber($action, $request);
		return $router->getRouteMatch('XenForo_ControllerPublic_Forum', $action, 'forums');
	}
 
Top Bottom