lasertits
OMG Member
- Joined
- Apr 12, 2011
- Messages
- 16
Hey guys, I asked this over at Xenforo.com but after a couple days it received no replies and I stumbled upon XenFans just last night so perhaps someone here can help me out.
I'm trying to figure out a way to do this, hopefully in a way that it is global for pages, or atleast simple enough to implement across dozens of individual pages.
I have nodes with a custom sub-tabs template, something like this:
This template is set through a code listener for navigation_tabs. That's all fine and dandy, but if I go down one node, that code listener is no longer triggered, and no sub-tabs are set:
How would I go about getting, in a node, it's parent node? More specifically, can I get the linksTemplate (sub-tabs template) value from it? (keep in mind, this is set through the code listener, so that code listener has to be triggered somewhere in between) If so, how can I go about doing this?
Any push in the right direction would be great, thanks!
I'm trying to figure out a way to do this, hopefully in a way that it is global for pages, or atleast simple enough to implement across dozens of individual pages.
I have nodes with a custom sub-tabs template, something like this:

This template is set through a code listener for navigation_tabs. That's all fine and dandy, but if I go down one node, that code listener is no longer triggered, and no sub-tabs are set:

How would I go about getting, in a node, it's parent node? More specifically, can I get the linksTemplate (sub-tabs template) value from it? (keep in mind, this is set through the code listener, so that code listener has to be triggered somewhere in between) If so, how can I go about doing this?
Any push in the right direction would be great, thanks!