Nodes As Tabs

Nodes As Tabs 1.5.1

No permission to download
Hello @rafass
Thanks for that mate, appreciated. Will definitely look into that.
I don't necessarily want them removed, but consolidated or even categorised - seems a good choice.
Thank you! :)

Wow... that's some kit!
 
Hello,
seems to be a fantastic add-on indeed..
Is it at all possible, with this, (first time user here) to consolidate these sub navs as they're cluttered and I don't know what I can really do about it.
Hoping this will help me. Thank you very much.
View attachment 101063

In general this addon is more about adding new tabs, not managing existing ones.

That default "Forums" tab is in the navigation template.
 
Hello Jake, thanks for share this great addon!
I've been testing and I've looking this behavior in mobile devices when you reload:

View attachment 101010
That only happens in a fraction of a second [very fast] while the page is reloaded. it is not something important but would be great if there is any way to avoid it.
Thanks again.

The responsive navbar is an integrated feature of XF. This addon doesn't define that behavior.
 
Okay brilliant thanks for that info.
As it happens, my theme has support for managing the tabs, which I foud late last night.

In any case, this add on does seem to do a grand job on nodes/tabs.
:)
 
Check Node Permissions makes it so the tab only shows if the logged in user has permission to view that node.

For target="_blank":

http://xenforo.com/community/threads/nodes-as-tabs.26687/page-5#post-354162

I have followed these instructions. Thank you, it works for the main nav that I have added.

However, I have created the following:

Parent Link Forum 20
-child link forum A 21
-child link forum B 22

Your javascript example works for the id of the parent link forum of 20.
I cannot get the children to open in new windows. I mouse over and get a drop down from the navigation, click the child, and it does not work.. still opens in same window.
Advice?
 
Hi Awesome add on, works just great , but i need help :)
Sorry if this is already explained,
Anyone help me to set Sub menus with this add on,
i cant find the settings !!
Thank you.
should i edit navigation template for this??

I want to set category as tabs and forums as sub menus,

Category(tab)
-Submenu1(Forum1)
-Submenu2(forum2)
 
Hi Awesome add on, works just great , but i need help :)
Sorry if this is already explained,
Anyone help me to set Sub menus with this add on,
i cant find the settings !!
Thank you.
should i edit navigation template for this??

I want to set category as tabs and forums as sub menus,

Category(tab)
-Submenu1(Forum1)
-Submenu2(forum2)

Set this to more than 1:

Admin CP -> Applications -> Display Node Tree -> [click the node] -> Depth Of Child Links
 
@Jake Bunce, Thanks for this wonderful Addon. My forum now matches the homepage.



I ended up with 2 forums Tabs. Should I edit the navigation template and hide the forums tab or is there an easier method that I am missing?

Thanks. IPF

Hiding the default "Forums" tab isn't a good idea because many pages in XenForo are still bound to that tab. If you want to do this then you first need to assign all such pages to another tab. This really requires modifying the files:

library/XenForo/Dependencies/Public.php

Rich (BB code):
	protected function _getNavigationContainerParams($selectedTabId)
	{
		if ($selectedTabId == 'forums')
		{
			$selectedTabId = 'nodetab2';
		}

		$tabs = array(
			'forums' => array(
				'title' => new XenForo_Phrase('forums'),
				'href' => XenForo_Link::buildPublicLink('full:forums')
			),
			'members' => array(
				'title' => new XenForo_Phrase('members'),
				'href' => XenForo_Link::buildPublicLink('full:members')
			),
			'help' => array(
				'title' => new XenForo_Phrase('help'),
				'href' => XenForo_Link::buildPublicLink('full:help')
			)
		);

Untested. And you need to specify the node_id in there.
 
  • Like
Reactions: IPF
Thanks for the prompt response. (y)
I guess I will forget about DP's jump menu and be happy with what I have. :D
 
Hi, Just got a quick question regarding using this add-on.

I'm creating a new tab and adding some links underneath by creating a new template from the nat_linkstemplate. If I want to list several sub levels of links, how would I do this?

The template just shows to create links as below :

<li><a href="{xen:link 'url1'}">Text1</a></li>
<li><a href="{xen:link 'url2'}">Text2</a></li>


what if I wanted to create a list of links as follows :

Text 1
Sub Text 1 Link
Sub Text 2 Link
Sub Text 3 Link
Sub Text 3 Link 1
Sub Text 3 Link 2
Text 2
Text 3
 
Hi, Just got a quick question regarding using this add-on.

I'm creating a new tab and adding some links underneath by creating a new template from the nat_linkstemplate. If I want to list several sub levels of links, how would I do this?

The template just shows to create links as below :

<li><a href="{xen:link 'url1'}">Text1</a></li>
<li><a href="{xen:link 'url2'}">Text2</a></li>


what if I wanted to create a list of links as follows :

Text 1
Sub Text 1 Link
Sub Text 2 Link
Sub Text 3 Link
Sub Text 3 Link 1
Sub Text 3 Link 2
Text 2
Text 3

Multi-level child links aren't really supported by the current nav system in XenForo. This addon handles it when you are using nodes for the child links but there is no easy way to do it when you are using a custom links template.
 
Top Bottom