Nodes As Tabs

Nodes As Tabs 1.5.1

No permission to download
Yes, I think we're on the same page.

As an example, the Search page here shows an empty secondary navigation div. I'd like to disable that from rendering if a specific node-tab is the active menu item.

The search page actually has no tab selected at all (which also results in an empty secondary nav). You can recreate this when editing a node by using the Assign To Existing Tab option. If you specify a tabid that doesn't exist then it will have the effect of not selecting any tab for that node. It's an unintended feature but it works.
 
The search page actually has no tab selected at all (which also results in an empty secondary nav). You can recreate this when editing a node by using the Assign To Existing Tab option. If you specify a tabid that doesn't exist then it will have the effect of not selecting any tab for that node. It's an unintended feature but it works.
Hi Jake,

I wrote that last post in a rush so I wasn't very specific about what I'm trying to do.

I want to put various "meta" type pages (search, notable members, help, a few custom links, etc) as dropdown links of a Meta tab.

I can put this mostly together easily enough with the custom menu templates and tab parenting overrides that this addon features, but I do not want the secondary menu to show if any of the specified pages are parented to a specific tab.

I could probably just edit the template itself and use a conditional to omit the secondary menu bar, but I don't know how that would look or what kind of logic is available to be parsed.
 
@Brentnauer

Set Depth Of Child Links to 0 to disable secondary links?

Otherwise I don't understand. Can you show me?

Say I have a Node Tab named Meta. Below it I have:
  • Notable Members
  • Current Visitors
  • Recent Activity
Those links display in the tab dropdown, which is fine.

However, if I visit one of those links (which cause the Meta tab to be highlighted), I do not want the area in red (shown below) to display at all:

upload_2013-8-10_17-49-11.webp

In my use case, I'll have more secondary links than can elegantly be shown in secondary navigation. I want that area to not appear at all vs showing up empty. However, I do want them to show up in the dropdown menu.
 
I want that area to not appear at all vs showing up empty. However, I do want them to show up in the dropdown menu.

Empty is doable. Completely removing it is not doable without more significant changes to the styling of the header and navbar.

I'll have more secondary links than can elegantly be shown in secondary navigation.

The responsive style in XenForo 1.2 handles that. Or you could consolidate your child nodes under categories. This addon creates submenus for deep children under a node tab.
 
Conflict with other addons (Photopost and reviewpost):

I just upgraded Xenforo to version 1.2. Since it is integrated with my old PP 8.3, I wanted now also to upgrade to PP 8.4.

Upgrade went successfully, but the integration does not work. When I clicked on the URL of the gallery, a blank screen came with several errors:

Code:
An exception occurred: No entry is registered for key 'fc' in /.../library/XenForo/Application.php on line 917

    XenForo_Application::get() in /.../library/XenForo/Application.php at line 1302
    XenForo_Application::getFc() in /.../library/NodesAsTabs/Listen.php at line 145
    NodesAsTabs_Listen::includeCSS()
    call_user_func_array() in /.../library/XenForo/CodeEvent.php at line 73
    XenForo_CodeEvent::fire() in /.../library/XenForo/Template/Abstract.php at line 82
    XenForo_Template_Abstract->__construct() in /.../library/XenForo/Dependencies/Public.php at line 244
    XenForo_Dependencies_Public->createTemplateObject() in /.../library/XenForo/ViewRenderer/Abstract.php at line 263
    XenForo_ViewRenderer_Abstract->createTemplateObject() in /.../library/XenForo/ViewRenderer/HtmlPublic.php at line 115
    XenForo_ViewRenderer_HtmlPublic->renderContainer() in /.../header-inc.php at line 53
    include() in /.../config-inc.php at line 14
    require() in /.../pp-inc.php at line 18
    require() in /.../misc.php at line 15

As soon as I turn off the nodes as tabs addon, it works properly again
 
Conflict with other addons (Photopost and reviewpost):

I just upgraded Xenforo to version 1.2. Since it is integrated with my old PP 8.3, I wanted now also to upgrade to PP 8.4.

Upgrade went successfully, but the integration does not work. When I clicked on the URL of the gallery, a blank screen came with several errors:

Code:
An exception occurred: No entry is registered for key 'fc' in /.../library/XenForo/Application.php on line 917

    XenForo_Application::get() in /.../library/XenForo/Application.php at line 1302
    XenForo_Application::getFc() in /.../library/NodesAsTabs/Listen.php at line 145
    NodesAsTabs_Listen::includeCSS()
    call_user_func_array() in /.../library/XenForo/CodeEvent.php at line 73
    XenForo_CodeEvent::fire() in /.../library/XenForo/Template/Abstract.php at line 82
    XenForo_Template_Abstract->__construct() in /.../library/XenForo/Dependencies/Public.php at line 244
    XenForo_Dependencies_Public->createTemplateObject() in /.../library/XenForo/ViewRenderer/Abstract.php at line 263
    XenForo_ViewRenderer_Abstract->createTemplateObject() in /.../library/XenForo/ViewRenderer/HtmlPublic.php at line 115
    XenForo_ViewRenderer_HtmlPublic->renderContainer() in /.../header-inc.php at line 53
    include() in /.../config-inc.php at line 14
    require() in /.../pp-inc.php at line 18
    require() in /.../misc.php at line 15

As soon as I turn off the nodes as tabs addon, it works properly again

Probably similar to this problem with the Kotomi addon and NodesAsTabs:

http://xenforo.com/community/threads/kotomi-generic-script-bridge.26937/page-3#post-607836

I will consider removing reliance on the 'fc' entry in the next release since other addons aren't updated for it yet.
 
Hi Jake,
I created a tab for a page. How do I add the permanent red balloon to this tab that say New!
Would it possible to add it via CSS or edit the Tab menu directly?
Thanks
 
Hi!

I've created a link forum tab to contact form. But how can I make it open in a pop-up window like you click on contact link in footer?
 
Hi Jake,
I created a tab for a page. How do I add the permanent red balloon to this tab that say New!
Would it possible to add it via CSS or edit the Tab menu directly?
Thanks

This addon only supports the unread counter as a red ballon. There is no option to specify a permanent label using the balloon.
 
Is there a way to keep the Forums link inside the breadcrumb when you select a category as a tab?

This forum used to have Home > Forums > Golf Equipment Talk

Now it only has what you see http://www.shottalk.com/forums/golf-equipment-talk.5/

That's how the crumbs function. The first crumb is always the name of the selected tab. The crumbs root to that tab. Additional crumbs are added as you go deeper into child nodes or threads underneath the tab.

There is no option to customize the crumbs beyond this. The rooted crumbs is the behavior I have programmed for this addon. I think you are the only person to ever want something different.
 
Hey Jake, sorry if I missed this however I want to make sure I understand the unread count functionality.

I enabled a forum node as a tab with unread count on.

However... the unread count only displays if you're in the node itself. If I'm on forums or members or anywhere other than in that node it will not sure(the html isn't even there).

Is that right? Doesn't seem like it and not sure what it could be. All other add-ons disabled, default style.
 
Hey Jake, sorry if I missed this however I want to make sure I understand the unread count functionality.

I enabled a forum node as a tab with unread count on.

However... the unread count only displays if you're in the node itself. If I'm on forums or members or anywhere other than in that node it will not sure(the html isn't even there).

Is that right? Doesn't seem like it and not sure what it could be. All other add-ons disabled, default style.

The counter always displays. It must be a problem with an addon or style customization.
 
Back
Top Bottom