xF1 Overriding the active navigation tab

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Heisenberg submitted a new resource:

    - Adding more navigational context

    This add-on is not affiliated with XenForo Ltd.

    This very simple developer guide contains two very simple examples of where it might be a good idea to override the default navigation tab for a controller/route.

    It's pretty much a single line of code you can use to set the current navigation tab to something entirely different. So why?

    With XenForo 1.2 and even in earlier versions of XenForo there are times where our new add-ons/applications are extending default Controllers with...

     
    Last edited: