I am building a new EE website to replace our current EE website. On this new website I have a biography page template set up with a “pre-loaded” search box embedded in it.
The “pre-loaded” search box is there so that articles entered by each of my reporters can be listed by clicking the “GO” button when said template is displaying the biography of each of my reporters.
I have one reporter who goes by the name of “J. Michael Brown”. On his biography page the search box is “pre-loaded” with “J. Michael Brown” in it… but when I click the “GO” button - the search returns results of “Your search did not return any results.”
If, in the “pre-loaded” search box, I shorten “J. Michael Brown” to just “Michael Brown” the correct articles for this particular reporter are returned as desited - but searching for “J. Michael Brown” returns no results.
http://www.northwestfloridaonline.com/mbb2.0/index.php/site/biography/j._michael_brown/
I have other reporters in the system whose “pre-loaded” search box works just fine and returns what they’re supposed to return. None of those reporters have initials in their names.
Here are some of those bio pages:
http://www.northwestfloridaonline.com/mbb2.0/index.php/site/biography/amy_hoyt/
http://www.northwestfloridaonline.com/mbb2.0/index.php/site/biography/jerry_brown/
http://www.northwestfloridaonline.com/mbb2.0/index.php/site/biography/jessica_foster/
My problem is that my “pre-loaded” search box works on all my biography pages except for the one author who has an “initial” in his name (title).
Below is my EE code for the “pre-loaded” search box:
{exp:weblog:entries weblog="authors" limit="1"}
{exp:search:advanced_form result_page="site/search_results" cat_style="nested" weblog="article" }
<strong>List {title}'s Articles:</strong>
<input type="text" maxlength="100" size="35" name="keywords" value="{title}"/>
<input name="search_in" type="hidden" value="entries" />
<input name="where" type="hidden" value="exact" />
<input type='submit' value='Go' class='submit' />
{/exp:search:advanced_form}
{/exp:weblog:entries}Any thoughts?