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:


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?
 

Brogan

XenForo moderator
Staff member
For tabs from add-ons you will need to ask in the add-on thread as it depends how they have been added.

For the home and forums tabs, remove the Home Page URL in the options and rename the Forums phrase to Home.
 

x8BiTw0LFx

Active member
For tabs from add-ons you will need to ask in the add-on thread as it depends how they have been added.

For the home and forums tabs, remove the Home Page URL in the options and rename the Forums phrase to Home.
Thank you! Can't rename Forums to Home though.

Do u know if it's in listener.php for add-ons, where I can set their values to be displayed differently?
 

x8BiTw0LFx

Active member
Found it! Phrases - that's an easy way to edit, yeah well, phrases :D

Thanks man!

Hope future xF versions will support tab-order-editing. Would be a great addition.
 

Petros

Member
@x8BiTw0LFx How to change tabs order:

1- enable debug $config['debug'] = true;
2- go to yoursite.com/admin.php?code-event-listeners/

i will show a demo from other add-on

find:
navigation_tabs.PNG

Click navigation tabs and you will see...

order.PNG

changing these you can order tabs as you wish.

Have fun
 

Petros

Member
Usually all add-ons have event listeners for tab position home | middle | end

If your add-ons doesn't have you should contact the add-on developer
 

x8BiTw0LFx

Active member
Okay, think I found out what I was doing wrong ;)
Do you know what number the members-list have?

This is really hard...

All callback executions is set to 10, so if I want to change the order, what should I do?

Should be: HOME - CHAT - MEMBERS - CLUBS - TOURNAMENTS - DONATIONS
 
Last edited:

Petros

Member
The default to all add-ons i think is 10.
You can do this.

HOME (10) - CHAT (11) - MEMBERS (12) - CLUBS (13) - TOURNAMENTS(14) - DONATIONS (15)
 

x8BiTw0LFx

Active member
The default to all add-ons i think is 10.
You can do this.

HOME (10) - CHAT (11) - MEMBERS (12) - CLUBS (13) - TOURNAMENTS(14) - DONATIONS (15)
Where do I edit "Members"?

Edit: None of the tabs changed place after giving them new numbers :/
 

Bob

Well-known member
The order of the TABS is like this.

HOME TAB

Extra Tabs Position: HOME

FORUMS TAB

Extra Tabs Position: MIDDLE

MEMBERS TAB

Extra Tabs Position: END

The actual listener file will set the POSITION of where the tab is, so if its set to MIDDLE and you want it after MEMBERS, you are going to have to edit the listener file and change the position. Some addons actually have options to set the position of the tab, so you might want to check that first.
 
Top