51 Posts
morhinio
9 years ago
4
Topic

Hello,

I want to use a radius search in the frontend.

I have created a separate address to coordinates field (with autocomplete), a longitude/latitude (both text fields) and a radio search field (numeric) in my search form.

I have created the fields like in this video:

http://www.seblod.com/resources/videos/using-the-search-by-radius-feature

I have also set the appropriate match operator like in the video.

I use Joomla 3.4.1 and seblod 3.5.1.

The address field works fine. But if I choose a radius, my items are not filtered. The website (search form) does not do anything.

Do I still need another plugin or field?

Get a VIP membership
97 Posts
Anjo
9 years ago
2
Level 1

Hi morhinio,

Check this tutorial, it might help. Make sure you name and save your fields storage correctly. Also image 6 on the tutorial the set match for the hidden Dir Latitude and Dir Longitude should be set to NONE.

http://www.seblod.com/images/medias/186/geodistance.pdf 

51 Posts
morhinio
9 years ago
1
Level 2

Hi Anjo,

thank you for the tutorial. One mistake was the wrong storage of the address to Coordinates field. I had set the storage to none.

If I now insert a submit button in my search form, it works.

I would like to receive the filtered items by selecting the radius (without submit button).

Is that possible?

97 Posts
Anjo
9 years ago
0
Level 3

Hi

Yes it is possible. In your search form change your Radius field Variation from Default to Filter. Now when someones selects the radius in frontend it will automatically perform the search.

Anjo

51 Posts
morhinio
9 years ago
0
Level 1

Great. It works fine. Thank you very much.

Get a VIP membership