glorify
Well-known member
So for your example, I would create the template biblioteca_subnav, the just place a link in the template, like so?In /Plugin/Plugin.php you you define the template of the sub nav like so:
PHP:public static function extendNavTabs(array &$extraTabs, $selectedTabId) { $extraTabs['biblioteca'] = array( 'title' => 'Biblioteca', 'href' => XenForo_Link::buildPublicLink('biblioteca'), 'position' => 'middle', 'linksTemplate' => 'biblioteca_subnav') }
You would than create the template in the admincp
Hope that helps!
Code:
<a href="http://whatever.com">Whatever</a>