203 Posts
louispapera
9 years ago
10
Topic

Hi sebloders, Seblod 3.4.0 makes available "Geo Distance" on search and type.

I would like to use it because I have already address to coordinate and naturally map plugins. 

Is there anyone that have used it, please, I need more informations as follow:

I think I need a new field "Distance" in my search and type, then system should do all.

My questions: distance is a value in km or miles....?; this system is available for personal computer only or also for smartphone and tablet ? 

Thanks for your reply. Best regards, Louis

Get a Book for SEBLOD
97 Posts
Anjo
9 years ago
6
Level 1

Hi louispapera

Have you watched using search by radius video?

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

it might answer your question.

Anjo

203 Posts
louispapera
9 years ago
0
Level 2

Hi Anjo, thanks for your suggestion, I saw video and haven't place appl, instead I have address to coordinate and map plugins. I think it is the same things. I will try soon. Regards, Louis

203 Posts
louispapera
9 years ago
4
Level 2

Hi Anjo, I saw video better and I have a question: premise that I haven't place app. With address to coordinate a map is possible find distance as for my need.  Regards, Louis

97 Posts
Anjo
9 years ago
3
Level 3

Hi louispapera,

I'll try to explain what I did for my search map in the attached pdf.

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

203 Posts
louispapera
9 years ago
0
Level 4

Hi Anjo, thank you very much for your help. You did a good job. Thanks again. I tried inserting fields latitude and longitude and address tocoordinates in a form content type. I saw that using "behavior> autocomlete" it doesn't work, while,if I use "behavior> concatenate", works fine.

I want to first solve this problem then I will check your suggestion better. I do not understand because in a way work and in another way do not work. Mistery. I will inform you soon. Best regards, Louis

203 Posts
louispapera
9 years ago
1
Level 4

Hi Anjo, OK, thanks to you, it has been solved. 

I love seblod and this forum, seblod is very big but I know that I use it about 40%. 

I hope that soon users can have a help from seblod administration with new sliders, document.... for know better this wonderfull cck.

Thanks again to all sebloders that dedicate their time in this forum to permit other sebloders to know this product.

Best Regards, Louis

97 Posts
Anjo
9 years ago
0
Level 5

Glad you have solve it and you are right Seblod is so huge and provides so many possibilities that writing a full manual would take forever.  I would have dropped Joomla for some projects if it wasn't for Seblod and although I get frustrated many times because I know Seblod can do things I want it to do but I just don't know how to code it, the introduction of paid support plus the continual development of free helpful features and the forums have been a godsend. 

Anjo

187 Posts
Pathos
8 years ago
1
Level 1

Hi Anjo,

Thank you for the nice example... But how did you 'cut off' the large amount of numbers in the distace with the php string plugin?

Greetings,

Joris

97 Posts
Anjo
8 years ago
0
Level 2

Hi Pathos,

You need to add typography "PHP string" to the distance field. Click + and in function select "number_format". in undefined* type "2" (no "" this cuts it down to two decimal points) then in suffix type Miles or Km. (example  5.645657945896043 Miles becomes 5.64 Miles).

Also for better control over radius choice in front end, I use plugin "Select Simple" instead of "Select Numeric".

In Select Simple options I put default value 1000 and create

Any Distance=1000

5

10

25

50

100

Storage=none

This way I can choose the distance numbers rather than showing increments

Hope this helps

Anjo

187 Posts
Pathos
8 years ago
0
Level 1

Thanks Anjo,

it worked. Nice idea to use the select simple for the distance, but for now the numeric works fine for me.

Greetings,

Joris

Get a Book for SEBLOD