Get a parent node's sub-tabs template.

lasertits

Active member
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:

vKy0V.png


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:

5WzRG.png


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!
 
Top Bottom