how to add another searchbox


Well-known member

i want to add another search box at the bottom of the page.
what specific codes should i paste in the footer?


Jake Bunce

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

Add the red code near the top:

Rich (BB code):
<xen:edithint template="footer.css" />

<xen:hook name="footer">
<div class="footer">
	<xen:if is="{$canSearch}"><xen:include template="search_bar" /></xen:if>
	<div class="pageWidth">
		<div class="pageContent">
			<xen:if is="{$canChangeStyle} OR {$canChangeLanguage}">
			<dl class="choosers">
				<xen:if is="{$canChangeStyle}">
					<dt>{xen:phrase style}</dt>
					<dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}" rel="nofollow">{$visitorStyle.title}</a></dd>
				<xen:if is="{$canChangeLanguage}">
					<dt>{xen:phrase language}</dt>
					<dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" rel="nofollow">{$visitorLanguage.title}</a></dd>
However, you lose the popup menu in this location. The positioning is also a little off. Some custom styling is required to get it looking right in this new location.


Well-known member
thanks jake.

i just noticed if you have 2 searchbars one searchbar will almost disabled its drop down menu.

what i really want is to have a quick search box (no dropdown) and will search within its category
the searchbox is executed.