- Posts: 363
- Thank you received: 25
OS Property support center
[SOLVED]Narrow the Search radius in Locator Search
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
8 years 10 months ago - 8 years 9 months ago #84228
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
[SOLVED]Narrow the Search radius in Locator Search was created by Stephen
Hi
In locator search there presets of search radius for 5, 10, 20, 50, 100 and 200 km (or miles).
I need to narrow this down to radius like 1, 2, 3, 4 .... km.
How can I do this?
which file do I have to modify so that I can change the integer number for search radius?
Cheers
stephen
In locator search there presets of search radius for 5, 10, 20, 50, 100 and 200 km (or miles).
I need to narrow this down to radius like 1, 2, 3, 4 .... km.
How can I do this?
which file do I have to modify so that I can change the integer number for search radius?
Cheers
stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 8 years 9 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
8 years 9 months ago #84283
by Mr. Dam
Replied by Mr. Dam on topic Narrow the Search radius in Locator Search
Hi Stephen,
To change the Radius value, please follow these steps
- Open file: root > components > com_osproperty > classes > locator.php
- Find:
and change value of array to 1,2,3,4 as you want.
Good luck
Dam
To change the Radius value, please follow these steps
- Open file: root > components > com_osproperty > classes > locator.php
- Find:
Code:
$radius_arr = array(5,10,20,50,100,200);
Good luck
Dam
The following user(s) said Thank You: Stephen
Please Log in or Create an account to join the conversation.
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 363
- Thank you received: 25
8 years 9 months ago #84291
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Replied by Stephen on topic Narrow the Search radius in Locator Search
Hi
Worked perfectly well
Thank you.
Worked perfectly well
Thank you.
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.