- Posts: 57
- Thank you received: 0
OS Property support center
Relate properties distance Change
- Mohammad Monirul Islam
- Topic Author
- Offline
- Senior Member
-
Less
More
12 years 2 months ago #25491
by Mohammad Monirul Islam
Relate properties distance Change was created by Mohammad Monirul Islam
Hi, Os property is a great extention, I want to change Relate properties distance. It is now 5/10/20/50 miles, but I want t to reduce it and want to show only those property from same address, so if I use 1 mile or less , then it is possible, so please let me know how can I do it? please help me.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
12 years 2 months ago #25502
by Mr. Dam
Replied by Mr. Dam on topic Re: Relate properties distance Change
Hi,
Please open file
administrator > components > com_osproperty > classes > configuration > properties > property.php
find
$distanceArr[] = JHTML::_('select.option','5','5 Miles');
$distanceArr[] = JHTML::_('select.option','10','10 Miles');
$distanceArr[] = JHTML::_('select.option','20','20 Miles');
$distanceArr[] = JHTML::_('select.option','50','50 Miles');
and change to
$distanceArr[] = JHTML::_('select.option','1','1 Mile');
$distanceArr[] = JHTML::_('select.option','5','5 Miles');
$distanceArr[] = JHTML::_('select.option','10','10 Miles');
$distanceArr[] = JHTML::_('select.option','20','20 Miles');
$distanceArr[] = JHTML::_('select.option','50','50 Miles');
Good luck
Dam
Please open file
administrator > components > com_osproperty > classes > configuration > properties > property.php
find
$distanceArr[] = JHTML::_('select.option','5','5 Miles');
$distanceArr[] = JHTML::_('select.option','10','10 Miles');
$distanceArr[] = JHTML::_('select.option','20','20 Miles');
$distanceArr[] = JHTML::_('select.option','50','50 Miles');
and change to
$distanceArr[] = JHTML::_('select.option','1','1 Mile');
$distanceArr[] = JHTML::_('select.option','5','5 Miles');
$distanceArr[] = JHTML::_('select.option','10','10 Miles');
$distanceArr[] = JHTML::_('select.option','20','20 Miles');
$distanceArr[] = JHTML::_('select.option','50','50 Miles');
Good luck
Dam
The following user(s) said Thank You: Mohammad Monirul Islam
Please Log in or Create an account to join the conversation.
- sti
- Offline
- Platinum Member
-
Less
More
- Posts: 448
- Thank you received: 2
12 years 2 months ago #25804
by sti
Replied by sti on topic Re: Relate properties distance Change
Hi ,
Miles can change to KM too ?
tks
Miles can change to KM too ?
tks
The following user(s) said Thank You: Mohammad Monirul Islam
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.