XF 1.5 Change tabs order

x8BiTw0LFx

Active member
Hello :)

I want to change the order of my tabs, but can't find where to edit? I have installed "Nodes as Tabs", but no options for it there.

Example:
uocN0Nm.png


I want to display tabs in this order:
HOME - FORUMS - CHAT - MEMBERS - DONATIONS - BUNGIE.NET - CLUBS - TOURNAMENTS

Hope someone can help :)

Edit: HOME and FORUMS does the exact same thing. Returns to frontpage. Can I remove FORUMS?
 
The Tournaments Tab is in the MIDDLE position. The Donations Tab is in the END position. If the Tournaments addon does not have an option to set the tab position (home, middle, end), then that means its hard coded to the middle position and you will have to edit the navigationTabs method in the listener file to set the position in the $extraTabs from 'middle' to 'end'. Once you do that, then you can set the execution order to fine tune the order within the position.

example
PHP:
            $extraTabs['ams'] = array(
                'title' => new XenForo_Phrase('nflj_ams_navigation_tab'),
                'href' => XenForo_Link::buildPublicLink('full:ams'),
                'position' => 'end',
                'linksTemplate' => 'nflj_ams_tab_links'
            );
 
you will have to edit the navigationTabs method in the listener file
And I've been looking for that listener.php file for quite some time now without luck:confused:

Edit: Found it! It was in: /library/XFA/Tournament/template.php

Thank you all for ur time and patience - yes I'm a noob at xF, but I'm eventually getting there ;)
 
Last edited:
  • Like
Reactions: Bob
Top Bottom