Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Search problem

#1 2005-10-16 06:55:21

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Search problem

I’ve got a strange search input form being used on my site. This worked fine under RC3, but I recently discovered that it no longer works. I can only presume this has been a problem since my upgrade to TXPv4. So, I’m wondering how to sort it out. How has the TXP search changed in the current version that it would affect my site?

My search code is:

<code>

<form action=”/search/” method=“get” id=“search”> <fieldset> <label for=“q” accesskey=“s”>Search</label> <input id=“q” name=“q” value=”“ title=“Enter your keyword and hit return” /> <input value=“GO” id=“search_submit” type=“submit” /> </fieldset> </form>

</code>

<p>My search results code is:</p>

<code>

<h3 class=“headline”><txp:permlink><txp:title /></txp:permlink></h3>
<div class=“articlebody”>
<p><txp:search_result_excerpt /><br/>
<small><txp:permlink><txp:permlink /></txp:permlink> &middot;
<txp:posted /></small></p>
</div>

</code>

I don’t know which block is the problem, but I receive a 404 error on any search run from my site, <a href=“http://theturninggate.com”>The Turning Gate</a>.

The reason for the custom search input (rather than just using the <code><txp:search /></code> function) is largely aesthetic, so that I can do the disappearing input button trick, style it, etc.

Any assistance would be greatly appreciated.

Thanks,
theturninggate

Last edited by theturninggate (2005-10-16 06:56:07)

Offline

  1. Index
  2. » Archives
  3. » Search problem

Board footer

Powered by FluxBB