Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
0 points
Beginner
If you are like me and do not like the “Auto” feature of advance search because it requires you to type an EXACT zip code or postal code, otherwise it will return no results, and realise most users of your site will think you do not have any listings nearby, here is an alternative that I used:
See Image 1 if the text version does not display properly.
If you are like me and do not like the “Auto” feature of advance search because it requires you to type an EXACT zip code or postal code, otherwise it will return no results, and realise most users of your site will think you do not have any listings nearby, here is an alternative that I used:
See Image 1 if the text version does not display properly.
file: class_search.php in the BT/framework/class directory
Line: 1577 to Line: 1593 (these lines are approximations)
if($field->description != "off"){
echo "<br /><small>".$CORE->_e(array('widgets','2')).":</small>
<select name='radius' class='form-control input-sm'>
<option value='12.5' selected='selected'>".$CORE->_e(array('widgets','3'))."</option>
<option value='6.25'";
if(isset($_GET['radius']) && $_GET['radius'] == "6.25"){ echo "selected=selected "; }
echo ">10 ".$CORE->_e(array('widgets','5'))."</option>
<option value='12.5'";
if(isset($_GET['radius']) && $_GET['radius'] == "12.5"){ echo "selected=selected "; }
echo ">20 ".$CORE->_e(array('widgets','5'))."</option>
<option value='25'";
if(isset($_GET['radius']) && $_GET['radius'] == "25"){ echo "selected=selected "; }
echo ">40 ".$CORE->_e(array('widgets','5'))."</option>
<option value='37'";
if(isset($_GET['radius']) && $_GET['radius'] == "37"){ echo "selected=selected "; }
echo ">60 ".$CORE->_e(array('widgets','5'))."</option>
</select>";
}
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now