OS Property support center

Module Search properties

  • Dycon
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 8 months ago - 10 years 8 months ago #35009 by Dycon
Module Search properties was created by Dycon
Hello Everyone...

I have a little problem with this module... (Search Properties)
1.- When I select a country it doesn't show the states
there is only 2 countries available as I require like that... the US and MX
All states and cities are published except for the US.

the error I'm getting is:
Timestamp: 8/28/2013 4:08:22 AM
Error: TypeError: document.getElementById(...) is null
Source File: http://localhost/components/com_osproperty/js/ajax.js
Line: 115

Code:
function ajax4e1() { if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ res = xmlHttp.responseText; pos = res.indexOf("|*|"); random = res.substring(pos+3); random = trim(random); if(random != ""){ res = res.substring(0,pos); pos = res.indexOf("@@@"); document.getElementById("country_state_search_module" + random).innerHTML = res.substring(0,pos); document.getElementById("city_div_search_module" + random).innerHTML = res.substring(pos+3); } } }

This line in particular:
Code:
document.getElementById("country_state_search_module" + random).innerHTML = res.substring(0,pos);


the ajax search module is working fine, with the module in the same page or not...

2.- How can I set a country by default instead of "Any"... I did search for the default country in the configuration area but I didn't see any... only this option: Countries that will be used in OS Property
Which I have selected a country, but still it keeps showing other countries...

Thank you..
Last edit: 10 years 8 months ago by Dycon. Reason: Adding Code...

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #35010 by Mr. Dam
Replied by Mr. Dam on topic Re: Module Search properties
Hi Dycon,
I am not sure about the version of search module that you have. Please try to install this version. If the issue is still there, please submit ticket on Category OS Property and send your site information with super admin and ftp account to us. We will check and solve the issue for you.
Thanks
Support team
Attachments:

Please Log in or Create an account to join the conversation.

  • Dycon
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 8 months ago #35012 by Dycon
Replied by Dycon on topic Re: Module Search properties
Version 1.5.0

I purchased the OS Property today, a few hrs ago, the project still in local development....

take a look at the image, I have the firebug on the java script ...

I have installed the module you gave me... but still the same error...


Thank you.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #35013 by Mr. Dam
Replied by Mr. Dam on topic Re: Module Search properties
Hi,
Can you please upload your site into one demo server and both you and me can check the issue?
We can't find the reason through one picture.
I will wait for you response.
Thanks
Dam
The following user(s) said Thank You: Dycon

Please Log in or Create an account to join the conversation.

  • Dycon
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 8 months ago #35014 by Dycon
Replied by Dycon on topic Re: Module Search properties
it seem that the problem was:
1.- the original module that came with the package of OS Property
2.- after I installed the new module I didn't clean the cache and for some reason was keep giving me the same error... but after a good clean up on the browser's cache now is working just fine!



Thank you...

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan