Has anyone used Croxton's Search Fields plugin? This is my first time using it. I'm trying to get a search form working and am running into difficulties getting it to pull results. Ordinarily I'd just use the normal Simple Search module, but I need different search fields to search specific custom fields.
Here is what I have so far:
<form>
<p>
<label for="keywords">Property Name:</label><br>
<input type="text" name="keyword" id="keyword" />
</p>
<p>
<label for="keywords">County:</label><br>
<input type="text" name="county" id="county" />
</p>
<p>
<input type="hidden" name="XID" value="{XID_HASH}" />
<input type="submit" value="submit" class="submit">
</p>
</form>
{exp:search_fields
search:title="keyword"
search:county="county"
channel="available_site"
operator="OR"
parse="inward"}{search_results}
{exp:channel:entries entry_id="{search_results}" disable="member_data|categories" dynamic="no" orderby="title" sort="asc" limit="10"}
<a href="{page_url}">{title}</a>
{/exp:channel:entries}
{/exp:search_fields}
I'm sure I've just missed something simple, but I can't find it. Thanks!
UPDATE:
I've adjusted it again to more closely resemble the example in the readme, but I'm still not any results.
Here is my search page:
<form method="post">
<p>
<label>Property Name:</label><br>
<input type="text" name="search:title" />
</p>
<p>
<input type="hidden" name="XID" value="{XID_HASH}" />
<input type="submit" value="submit" class="submit">
</p>
</form>
{embed="properties/search_results" search='{exp:get_parameters post="search"}'}
and the embedded search results template
{exp:search_fields
search:title="{embed:search}"
operator="OR"
channel="available_site"
parse="inward"}
<p>Search results for ‘<em>{embed:search}</em>’</p>
{exp:channel:entries channel="available_site" entry_id="{search_results}" disable="member_data|categories" dynamic="no" orderby="title" sort="asc" limit="10"}
<a href="{page_url}">{title}</a>
{paginate}
<div class="pagination">
<ul>
<li class="previous">{if previous_page}<a href="{auto_path}">Prev</a>{/if}</li>
<li class="next">{if next_page}<a href="{auto_path}">Next</a>{/if}</li>
</ul>
<p>Page {current_page} of {total_pages}</p>
</div>
{/paginate}
{/exp:channel:entries}
{if no_results}
<p class="intro">Sorry, no matches were found for ‘<em>{embed:search}</em>’.</p>
{/if}
{/exp:search_fields}
But I just get the message "Sorry, no matches were found for ." It doesn't look like any information at all is being passed from the form to the results template.
any ideas?