OS Property support center
http://osprealestate.joomservices.com/index.php/ma
- mazen
-
Topic Author
- Offline
- Junior Member
-
Less
More
10 years 6 months ago #52439
by mazen
http://osprealestate.joomservices.com/index.php/ma was created by mazen
Hello,
At the page : osprealestate.joomservices.com/index.php/map-search
in the search field there is initial value (New York, USA) ..
How can I change it ? to other country ?
in the download file, its empty not the same as the demo ..
Thanks
At the page : osprealestate.joomservices.com/index.php/map-search
in the search field there is initial value (New York, USA) ..
How can I change it ? to other country ?
in the download file, its empty not the same as the demo ..
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 6 months ago #52457
by Mr. Dam
Replied by Mr. Dam on topic http://osprealestate.joomservices.com/index.php/ma
Hi Mazen,
In the demo, we setup all properties in New York, so we want customers to be able to see the result after searching. (Because some customers told us they don't know how to use Locator searching)
In default, the Locator search function won't show any properties (like the demo).
You must enter location and select Radius (km or miles) and then, the system will show the properties (if exists) in the searched location
Thanks
Dam
In the demo, we setup all properties in New York, so we want customers to be able to see the result after searching. (Because some customers told us they don't know how to use Locator searching)
In default, the Locator search function won't show any properties (like the demo).
You must enter location and select Radius (km or miles) and then, the system will show the properties (if exists) in the searched location
Thanks
Dam
Please Log in or Create an account to join the conversation.
- mazen
-
Topic Author
- Offline
- Junior Member
-
10 years 6 months ago #52586
by mazen
Replied by mazen on topic http://osprealestate.joomservices.com/index.php/ma
Hello,
Thanks for explaining,.
Would you please let me how to make it the same as you did in the demo?
Thanks in advanced
Mazen
Thanks for explaining,.
Would you please let me how to make it the same as you did in the demo?
Thanks in advanced
Mazen
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 6 months ago #52595
by Mr. Dam
Replied by Mr. Dam on topic http://osprealestate.joomservices.com/index.php/ma
Hi Mazen,
We hard code the file locator.php and locator.html.php in "classes" directory. If you want, i will let you know how to solve it?
Thanks
Dam
We hard code the file locator.php and locator.html.php in "classes" directory. If you want, i will let you know how to solve it?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- mazen
-
Topic Author
- Offline
- Junior Member
-
10 years 6 months ago - 10 years 6 months ago #52597
by mazen
Replied by mazen on topic http://osprealestate.joomservices.com/index.php/ma
Dear Dang,
Yes please, I would like to know..
Thank you very much...
Yes please, I would like to know..
Thank you very much...
Last edit: 10 years 6 months ago by mazen.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 6 months ago #52615
by Mr. Dam
Replied by Mr. Dam on topic http://osprealestate.joomservices.com/index.php/ma
Ok, please open 2 files
components > com_osproperty > classes > locator.php and locator.html.php
in file location.php
find
$location = OSPHelper::getStringRequest('location','','');
and replace by
$location = OSPHelper::getStringRequest('location','New York, USA','');
or other location you want
find
$radius_search = JRequest::getInt('radius_search',20);
you can change 20 to another radius value if you want
in file location.html.php
find
if(JRequest::getInt('doSearch',0) == 0)
change to
if(JRequest::getInt('doSearch',1) == 0)
Good luck
Dam
components > com_osproperty > classes > locator.php and locator.html.php
in file location.php
find
$location = OSPHelper::getStringRequest('location','','');
and replace by
$location = OSPHelper::getStringRequest('location','New York, USA','');
or other location you want
find
$radius_search = JRequest::getInt('radius_search',20);
you can change 20 to another radius value if you want
in file location.html.php
find
if(JRequest::getInt('doSearch',0) == 0)
change to
if(JRequest::getInt('doSearch',1) == 0)
Good luck
Dam
The following user(s) said Thank You: mazen
Please Log in or Create an account to join the conversation.
- mazen
-
Topic Author
- Offline
- Junior Member
-
10 years 6 months ago #52617
by mazen
Replied by mazen on topic http://osprealestate.joomservices.com/index.php/ma
Thank you very much
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.