Once again, I’m trying to install a simple search keyword field on an EE site and running into problems. This happens on EVERY new EE site I build it seems… I AWAYS encounter problems with the search module, and each time the issue is different. I don’t understand why this module is so flakey and difficult to set up 😡
EE 2.5.1 build 20120529
My simple search code:
{exp:search:simple_form channel="zoo_visitor" result_page="informal_mediation/searchresults" search_in="everywhere"}
<label for="keywords">Keyword Search:</label>
<input name="keywords" id="keywords" type="text" value="" placeholder="Enter keywords here…"/>
<button name="submit" type="submit" value="Submit" class="button-search" title="Search">Search</button>
{/exp:search:simple_form}My Results page:
<h2 class="filter first">{exp:search:total_results}Found {total_results}{/exp:search:total_results} results for "{exp:search:keywords}"</h2>
{exp:search:search_results show_expired="yes"}
<div class="mediatorPane">
<h1>{member_firstname} {member_lastname} {member_chinesename} {title}</h1>
<div class="paneArea">
<h2>Areas of Practise</h2>
<p> <ul><br />
{categories show_group="1"}<br />
<li>{category_name}</li><br />
{/categories}<br />
</ul><br />
</div><br />
<div class="paneLang"><br />
</p><h2>Languages</h2>
<p> <ul><br />
{categories show_group="2"}<br />
<li>{category_name}</li><br />
{/categories}<br />
</ul><br />
</div><br />
<div class="paneExp"><br />
</p><h2>Experience</h2>
<p> <ul><br />
<li>{member_experience}</li><br />
</ul><br />
</div><br />
<div class="paneBio"><br />
</p><h2>Profile</h2>
<p> {exp:word_limit total="35"}{member_bio}{/exp:word_limit}<br />
</div><br />
<div class="paneButtons"><br />
<div class="paneCheckbox"><input type="checkbox" name="select_mediator" class="styled" value="y" /></div><br />
<a href="http://{site_url}mediators/profile/{member_id}"><button name="submit" type="submit" class="button-small">View More</button></a><br />
</div><br />
</div><br />
{/exp:search:search_results}Okay, yes this is a Zoo Visitor channel, but the data is just a normal channel entry stuff, tied to membership, yes, but that’s not the issue. I’ve tried the same simple search ssetup on other channels with more common entries/ data and STILL it returns the standard EE “no results” screen every time.
You can try it here.
Nik