Any hint for changing Tab order?

Luciano

Member
Hello @ll.
Just created my own new tab linking to a new page (from tutorials here)
works fine.
Created secondary links, works fine.

BUT the new tab I created integrates automatically after the forum and before the members tab.

My question: is there a way to integrate that new tab in a different position?
Example between Home and Forums Tab or between Members and Help Tab.

Or is between Forums and Members Tab the only possible position?

Luc
 
that´s a easy one.
just edit - Templates - navigation

move the whole part: <!-- extra tabs -->
before the: <!-- forums --> //or where you want it
part and you are done.
 
thanks for the reply.
I forgot to mention, i am creating an addon, with extra page and extra tab.
I wanted to add an option in settings where user can choose tab position, without having to edit templates.
sort of $template_hook like in vbulletin...

I had thought of doing a sortof $template = str_replace(<!-- forums -->, $newtab, $template);
but i dont know where to fetch the template before it gets rendered.

Luc
 
Other than doing the template edits and moving code around, is there a different way to change the order of the tabs?
 
Other than doing the template edits and moving code around, is there a different way to change the order of the tabs?

If those tabs belong to addons then you probably need this to change the order:

http://xenforo.com/community/threads/remove-page-title-custom-home-landing-page.24334/#post-297908

If you happen to be using the Nodes As Tabs addon then there are some configurable options in your Admin CP that might be useful here:

http://xenforo.com/community/resources/nodes-as-tabs.9/update?update=142
 
Top Bottom