add a tab for style chooser

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Appearance -> Templates -> navigation

Add the red code:

Rich (BB code):
						<li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
		<xen:if is="{$canChangeStyle}">
		<!-- style chooser -->
		<li class="navTab PopupClosed"><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger navLink" rel="nofollow">{xen:phrase style}: {$visitorStyle.title}</a></li>
		<!-- extra tabs: end -->
		<xen:if is="{$extraTabs.end}">
		<xen:foreach loop="$extraTabs.end" key="$extraTabId" value="$extraTab">
			<xen:if is="{$extraTab.linksTemplate}">
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">
				<a href="{$extraTab.href}" class="navLink">{$extraTab.title}</a>
				<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
This needs to be added to each style.

The result:

Screen shot 2011-12-07 at 3.35.02 AM.png


Active member
Nice thank you very much. Hey how can I relabel the button to "Style Chooser"? instead of the name of the Style


Well-known member
In the code that Jake wrote to you, look for:

{xen:phrase style}
And replace with this:

{xen:phrase style_chooser}
To not show the title of the style, delete the code:

So the title of the style will not appear. Just the phrase.