What's new

How To Add A New Tab In The Navbar [Xenforo]

  • Thread starter SubZero Sighlo
  • Start date
  • Views 19,515
S

SubZero Sighlo

Zombie Slayer
Messages
165
Reaction score
35
[Note: You need your own copy of Xenforo to do this.

Here is the website:http://xenforo.com/]

To do this little trick your going to need to navigate to:

Admin Cp > Appearance > > templates > navigation

Add this code (insert an appropriate link and tab label):
Code:
<!-- mytab -->
        <li class="navTab PopupClosed"><a href="[B]LINK HERE[/B]" class="navLink">[B]TAB LABEL HERE[/B]</a></li>

...as shown below:

Code:
<li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
                    </ul>
                </div>
            </li>
        </xen:if>
 
 
        <!-- mytab -->
        <li class="navTab PopupClosed"><a href="LINK HERE" class="navLink">TAB LABEL HERE</a></li>
 
 
        <!-- extra tabs -->
        <xen:if is="{$extraTabs}">
        <xen:foreach loop="$extraTabs" key="$extraTabId" value="$extraTab">
            <xen:if is="{$extraTab.linksTemplate}">

If you wanted to do a link for account upgrades you'd do this:
Code:
    <!-- mytab -->
        <li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">{xen:phrase account_upgrades}</a></li>

were i found tutorial from:
http://www.xfteam.info/threads/how-to-add-a-new-tab-in-the-navbar.240/

Thank you for your time
 
S

S7 Pro

Seasoned Member
Messages
2,511
Reaction score
1,604
Sorry for the misunderstanding. Nice tutorial.
 
S

SubZero Sighlo

Zombie Slayer
Messages
165
Reaction score
35
I swear people don't think before they post. You are a regular member, and you don't have access to the ACP.

:FACEPALM:

I also appreciate the fact you're a new member trying to help, but you need to familiarize with our rules.

This is for people who have there own copy of xenforo
 
S

S7 Pro

Seasoned Member
Messages
2,511
Reaction score
1,604
Well then sorry for the misunderstanding. I am glad that you responded so kindly, especially for a new member.
 
P

Poshnjari

Newbie
Messages
1
Reaction score
0
how to edit header without plugins
 
Top Bottom