XF 1.4 How to make custom tab selected when on page

Mr Lucky

Well-known member
#1
I have created a custom tab for a page node.

How do I make it so that the tab is shown as selected when you are on that page?

I am using this in the nav template

Code:
<li class="navTab PopupClosed"><a href="{xen:link pages/testpage}" class="navLink">Link To Page</a></li>
Thanks
 

Brogan

XenForo moderator
Staff member
#2
It requires PHP code, or an add-on.

I did a very simple one for when I was using a page node for a specific function.
 
Top