• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to add a Page Tab in Navigation

Sagar

Active member
#1
Well first and foremost, I searched the forum and went through some solutions given but they are not clear to me. Can anyone please explain me how do I add a Tab After

Home -- Forum -- "HERE" -- Members

Thanks
 

Jake Bunce

XenForo moderator
Staff member
#5
I too would like to add "User Upgrades" in the main Navigation Tabs. .
Admin CP -> Appearance -> Templates -> navigation

Add this code:

Code:
		<!-- mytab -->
		<li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">{xen:phrase account_upgrades}</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="{xen:link account/upgrades}" class="navLink">{xen:phrase account_upgrades}</a></li>


		<!-- extra tabs -->
		<xen:if is="{$extraTabs}">
		<xen:foreach loop="$extraTabs" key="$extraTabId" value="$extraTab">
			<xen:if is="{$extraTab.linksTemplate}">
This is the result:

Screen shot 2010-11-08 at 11.41.25 AM.png

Well first and foremost, I searched the forum and went through some solutions given but they are not clear to me. Can anyone please explain me how do I add a Tab After

Home -- Forum -- "HERE" -- Members
It's the same code as above, except you would change the {xen:link account/upgrades} and {xen:phrase account_upgrades} for your purposes.