MyBB Community Forums

Full Version: I want to add a simple search box to the header, please help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Is there a simple search box that I can add to the header??

Search: {search box} {search button} Advanced Search

how can I do this please?

A Gaga fan? Visit: Gaga Yard
You can put this in your header, or anywhere else. Smile

<a name="top" id="top"></a>
<div style="float:right;">
<td class="trow1" align="center">
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="textbox" name="keywords" value="" />
<!-- start: gobutton -->
<input type="submit" class="button" value="Go" />
<!-- end: gobutton -->