Hello,
In EE 1.0 I found a way to get my search bar into the User Message template. The solution was pretty simple. I just viewed the html of a rendered page that included the search form, copied the form text, and put that into the user template.
The code that I pasted looked something like this:
<form method="post" action="http://www.djbooth.net/index">
<input type="hidden" name="ACT" value="17" />
<input type="hidden" name="XID" value="" />
<input type="hidden" name="RP" value="general/search" />
<input type="hidden" name="NRP" value="" />
<input type="hidden" name="RES" value="20" />
<input type="hidden" name="status" value="" />
<input type="hidden" name="channel" value="not trackschart|charts|tracks-sandbox" />
<input type="hidden" name="search_in" value="titles" />
<input type="hidden" name="where" value="all" />
<input type="hidden" name="site_id" value="1" />
<input type="text" name="keywords" id="keywords" value="Search the DJBooth" maxlength="100" width="39" height="26" class="inputtext" />
<input type="image" src="http://static.djbooth.net/images/go-btn.gif" class="go-btn" />
</form>However this code doesnt work in 2.x. The new version of EE seems to put the parameters into a long encrypted string.
I was wondering if there was a way to get around this in 2.x.