Eric Winter
Member
I'm evaluating XenForo for a client, and I have to integrate XF with thirth party webapps.
So I'm using the code below to add an tab to the navigation bar.
Suppose I have this code:
	
	
	
		
with this linksTemplate code:
	
	
	
		
Now where do I put the linksTemplate code?
What should be the filename and extension?
In which folder do I store the file?
Thanks!
				
			So I'm using the code below to add an tab to the navigation bar.
Suppose I have this code:
		Code:
	
	static public function addNavbarTab(array &$extraTabs, $selectedTabId)
{
        $extraTabs['info'] = array(
            'title' => new XenForo_Phrase('ragtek_infopage_navbartitle'),
            'selected' => ($selectedTabId == 'info'),
            'href'   => XenForo_Link::buildPublicLink('info'),
            'linksTemplate' => 'ragtek_infopage_navbar',
        );
    }
}
	with this linksTemplate code:
		Code:
	
	<ul class="secondaryContent blockLinksList">
    <li><a href="{xen:link info/impressum}">{xen:phrase ragtek_infopage_impressum}</a></li>
    <li><a href="{xen:link info/privacy}">{xen:phrase ragtek_infopage_privacy}</a></li>
</ul>
	Now where do I put the linksTemplate code?
What should be the filename and extension?
In which folder do I store the file?
Thanks!