http://xenforo.com/help/route-filters/ - Example 2.Hello, is it possible to remove the /pages/
Thank you very much!http://xenforo.com/help/route-filters/ - Example 2.
Hey, just installed this addon and I created a "Link forum" to another website and I don't want it to appear in my /forums/, how can I do that?
Thank you.
You sir deserve a cookie.Edit that node and uncheck Display in the node list. This is a standard node option, not part of this addon.
It appears this is the only "easy" way of making my tabs highlighted when you are actually on the page the tab is linked to. My only "issue" with using Nodes as Tabs is that I cannot find a fix the for the link that it makes for the tab. For instance the tab's real link for the page to load mysite.com/help/how-to-post. However, the actual link that is associated with the tab, for instance when you hover over it in your status bar at the bottom of a browser, is mysite.com/help/how-to-post.12 and I am guessing this is because of how this plugin builds the tabs corrects? It assigned an ID to each one, in this case .12 ? Anyone have a workaround for this or is this just how it is? I am just making a create new link forum to go to a different page on my forum.
<script>
window.onload = function()
{
$('.nodetab1 a.navLink').attr('target','_blank');
};
</script>
<script>
window.onload = function()
{
$('.nodetab2 a.navLink').attr('target','_blank');
};
</script>
Oh. I think I understand what you are trying to do. You want a nav tab that opens the overlay.
That will actually require a template edit since overlay links need special code that is not in the extraTabs skeleton.
Admin CP -> Appearance -> Templates -> navigation
Near the bottom, add the red code:
Rich (BB code):<!-- extra tabs: end --> <xen:if is="{$extraTabs.end}"> <xen:foreach loop="$extraTabs.end" key="$extraTabId" value="$extraTab"> <xen:if is="{$extraTab.linksTemplate}"> <li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}"> <a href="{$extraTab.href}" class="navLink">{$extraTab.title}</a> <a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a> <div class="{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}"> <div class="primaryContent menuHeader"> <h3>{$extraTab.title}</h3> <div class="muted">{xen:phrase quick_links}</div> </div> {xen:raw $extraTab.linksTemplate} </div> </li> <xen:else /> <li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}"> <a href="{$extraTab.href}" class="navLink">{$extraTab.title}</a> <xen:if is="{$extraTab.selected}"><div class="tabLinks"></div></xen:if> </li> </xen:if> </xen:foreach> </xen:if> <li class="navTab PopupClosed"><a href="{xen:link misc/quick-navigation-menu, '', 'selected={$quickNavSelected}'}" class="navLink OverlayTrigger jumpMenuTrigger" data-cacheOverlay="true">QUICKMENU</a></li> <!-- no selection --> <xen:if is="!{$selectedTab}"> <li class="navTab selected"><div class="tabLinks"></div></li> </xen:if> </ul> <xen:if is="{$visitor.user_id}"><xen:include template="navigation_visitor_tab" /></xen:if> </div> <span class="helper"></span> </nav> </div> </div>
This works great but.. how would i get 2 link forums to work? For some reason its not working for me. I can only get 1 working.
I added the script 2 times
Code:<script> window.onload = function() { $('.nodetab1 a.navLink').attr('target','_blank'); }; </script> <script> window.onload = function() { $('.nodetab2 a.navLink').attr('target','_blank'); }; </script>
<script>
window.onload = function()
{
$('.nodetab1 a.navLink').attr('target','_blank');
$('.nodetab2 a.navLink').attr('target','_blank');
};
</script>
Can I do something like that with contact link to open in overlay?
<li class="navTab PopupClosed"><a href="{xen:link misc/contact}" class="navLink OverlayTrigger" data-cacheOverlay="true">Contact</a></li>
Thanks, but I guess it can't be done in nodes as tabs add-on, right?Sure.
Code:<li class="navTab PopupClosed"><a href="{xen:link misc/contact}" class="navLink OverlayTrigger" data-cacheOverlay="true">Contact</a></li>
Thanks, but I guess it can't be done in nodes as tabs add-on, right?
Does this addon only work for nodes? Or can I place other links as the dropdown menu?
We use essential cookies to make this site work, and optional cookies to enhance your experience.