Originally Posted by
mohsinoffline
Hi centurypixel,
Thanks for the mod. I could not download it from the link you provided. I briefly checked the demo site, and it seems the drop downs are working fine. However, here's what is in the solution we are developing, just to clarify:
1) The dynamic drop downs can work for up to three levels, and can be associated with any three custom fields, so it is not tied to the country/state/city fields. It will also work with two levels.
2) You can associate any custom fields to levels one two and three, and add all the data you want to appear in the drop downs from the admin back-end.
3) The edit ad form on the front end works with the same drop down hierarchy and the one on the admin back-end defaults to text boxes so the admin can enter the values as free text.
4) Like almightyeric mentioned, The same data could then be used to create sub-sites with filtered results for the visitors.
We are almost done with the first three points, we are still testing if it works in all scenarios.
Regards,
Mohsin
Thank you for the note Moshin. I just did this quickly for my project's purposes and simply wanted to share with the community. I will not be going to the extend you have included as I have no need for it, but I am almost done coding the #4 solution for the search area and that'll be it from me.
So for all, basically what my code does is displays all countries in the drop-down and upon selection, it will populate the state drop-down. I personally think city is redundant so for the search function, for now simply country and state. However, my goal next week is to simply GeoLocate the user and also add a "Locate me" button which will find the location of the user or have them enter their zip code and do a radius search in miles or kilometers.
I don't plan on making any admin interface for it, but if you could also include GeoCoding / radius search to your solution it would fantastic!
Thanks again and good luck!
Note: I checked the download link, it seems to be working.