XF 1.x Adding new entries to nav bar

Russ

Pixel Exit Staff
I don't think there's a way around that to be honest, because they're link nodes it's linking to the RM which will highlight that instead.

If you put a Node in the navigation I believe that shows as selected. Might be able to achieve it with a conditional but I'm not entirely sure, I'd ask Jake over on the plugin to see if he may know of a way.
 

Frode789

Customer
Ah crap.. :\ Is there any other way too add links to nav bar? (not using the node tab addon, but template edits). Could you try? I think I tried that before, but same problem with them not getting highlighted. Silly that Xenforo does not have any nav bar customization, and for making it so complicated. In phpBB it was super easy..
 

Russ

Pixel Exit Staff
You'd still need a conditional though unfortunately.

Something like Allen posted here but I don't think that works:

https://xenforo.com/community/threads/conditional-statements.47199/#post-569766

Then you could add a new navtab like regular

Code:
<!-- mytab -->
<li class="navTab PopupClosed"><a href="LINK" class="navLink">TAB LABEL</a></li>
But throw the conditional next to PopupClosed making it have a selected class if the category is in.

Of course this assumes there's a working conditional out there for specific categories.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.