Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-05 06:42:02

Saigo
Member
Registered: 2005-01-02
Posts: 60
Website

Slight problems with search function

On my blog, after installing the new Serene theme, I discovered the Search feature wouldn’t function well. If, for instance, one were to search under the main index, the search results will appear. But if I search within one of the entries, let’s say this, for some reason, the query is being sent to the same entry itself, ie: http://www.saigoheiki.com/blog/my-most-expensive-purchase-in-history?q=test

I hope I made sense – this could be something overlooked at anything related to search under forms/pages, but I so far couldn’t find anything that could help with this.

This is the code for the search function, btw, if it helps:

<code><form id=“search” action=”“ method=“get”>
<p><label for=“s”>Search </label>
<input type=“text” id=“s” name=“q” /></p>
</form>
</code>

Last edited by Saigo (2006-06-05 06:43:12)

Offline

#2 2006-06-05 11:35:36

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Slight problems with search function

Try action="/".

Offline

Board footer

Powered by FluxBB