Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-04-03 00:05:59

conspirator
Member
From: Chicago
Registered: 2007-03-31
Posts: 35
Website

Re: Getting custom search to function

To use the form, I need an output of this: http://www.emqus.com/?s=search&q=interop

I’m currently getting this: http://www.emqus.com/?q=interop&go=

Offline

#14 2008-04-03 01:22:40

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Getting custom search to function

<form action="<txp:site_url />" method="get">
	<input type="hidden" name="s" value="search" />
	<input name="q" type="text" value="search" />
	<button type="submit" class="go">Go</button>
</form>

Just removed the slash from the action as it shouldn’t be there, and also the name from the button.

Offline

#15 2008-04-03 01:30:43

conspirator
Member
From: Chicago
Registered: 2007-03-31
Posts: 35
Website

Re: Getting custom search to function

Thank you, Jukka! It works!!!

Offline

Board footer

Powered by FluxBB