Latest Register Log In

+ Advanced Search

User Choice Between Miles and Kilometers

User Choice Between Miles and Kilometers
By
05/07/14

If you'd like to offer your visitors a choice between doing distance searches in miles or kilometers, as opposed to forcing them to use whichever you've picked at Admin -> Settings -> Localization, just add this selector to the search form:
<select name="mikm"><option value="miles">miles</option><option value="kilometers">kilometers</option></select>




Description How to let people choose which units to search in.
Rating
Views 189 views. Averaging 0 views per day.