When I search for the zip, it sometimes works, and sometimes it produces other zip codes in the search results. There does not seem to be any pattern? I made the TV for the zip code a number.
Also, I am having an issue with the general keyword search. If I add anything other than includeTVs, it will make my form completely disappear. I would also like to remove the "Keyword" label, but if I try to put the blank label param or just a label param that’s empty, it disappears.
Here is my search form:
<div class="search-wrapper"><!--search-wrapper-->
<h3>Find Properties</h3>
<div class="search"><!--search-->
<form action="search-results.html" method="get" >
<h4>Property Type</h4>
[+tve.property_type+]
<div class="hr"><hr /></div>
<h4>Location</h4>
[+tve.property_city:class->input+]
[+tve.property_state:class->input+]
[+tve.property_zip:class->input+]
Within <input name="" type="text" size="4" class="input" value="10" /> miles.
<div class="hr"><hr /></div>
<h4>Agent</h4>
[+tve.property_agent:class->input+]
<div class="hr"><hr /></div>
<h4>Quick Search</h4>
[+tve.keywordsSearch:includeTVs->all+]
<!--<input name="" type="text" class="input" size="20" />-->
<div class="hr"><hr /></div>
<input name="search" type="image" value="search" src="{{image_path}}/search.png" />
</form>
</div><!--search-->
</div><!--search-wrapper-->
tvExplorer snippet call:
[!tvExplorer? &dittoName=`Ditto` &dittoSnippetParameters=`tpl:tve-dittoTPL|depth:5|parents:2|display:10` &formTPL=`search2`!]
[+tve.searchForm+]
Search Results page w/ditto snippet call:
<p>[!tvExplorer? &dittoName=`Ditto` &dittoSnippetParameters=`tpl:tve-dittoTPL|depth:5|parents:2|display:10` &formTPL=`search2`!]</p>
<h3>Total Listings: [+total+] </h3>
<div id=" ditto_list "> [+tve.dittoList+] </div>
<p class=" ditto_pagination ">Page <strong> [+currentPage+] </strong> of <strong> [+totalPages+] </strong></p>
<p class=" ditto_pagination "> <span id=" ditto_pages "> [+previous+] [+pages+] [+next+] </span></p>