hello
D6
modules: cck, views, hierarchical select (newest versions)
i´m working on a real estate website. i added some content types like house, appartment and so on
if you add a real estate, you can add a location too, this is realized with taxonomy.
the location is split in country > state > destrict > zip-code > city> street
country is a vocabulary, state is a vocabulary and so on ...
now i have a view with exposed filters and there you can search for the location too.
the problem is that i don´t know how to get this to work how i want to. you can search for every term, but there is no relationship between them.
what i´m looking for:
you choose austria and then you should only get states of austria in the state-field (this could be a drop-down-list or better a auto-complete-textfield). then you choose a state, for example vienna, and then you get only destricts of vienna and so on
does anyone know how to realize that? i tried a lot, but i don´t have a solution for that now ...
my drupal-know-how is advanced, php-know-how very poor
thanks+greets

Comments
This is supported since
This is supported since mid-August. Updated to the latest version for Drupal 6 to get this functionality! :)
More information
Hi.
Is there more information about this feature out there? Especially how to use it in a module?
Thx in advance.
ok, thanks ... i will update
ok, thanks ... i will update :)
but a last (i hope) question ... should you make for each option a category? so one for country, state, destrict and so on ... or should i make one category location with terms countrys and for each country terms with their destricts and so on ... because i think it is necessary for hierarchical select to have a tree of terms, right?
greets
www.multivitamedia.at
www.ding-dong.at
www.breeders-international.com
Yes, one term for each
Yes, one term for each country/district/city/…
ah, ok, thxs i will give it a
ah, ok, thxs
i will give it a try :)
greets
www.multivitamedia.at
www.ding-dong.at
www.breeders-international.com
help
Did you get to do what you were looking for? I'm trying to do the same and not get it. Thanks and regards.
country state selection not working in exposed filters
Hi,
I am Sashi Kiran, i am not getting any way to integrate country --> state --> city selection option in exposed filters in my view...Is there any way to get this job done...plz help me...
Thanks in advance..
the state list is decided by the country selected
Thank you Asghar for your quick response,
I got this reply:
I think you can easily achieve this by views module, For this you should add country,states and cities as selectlist fields in node form then you go in views module and add these as views fields and as well as views expose filter then you view your results.
But what i want is when the user selects the country then the state list should contain only the states of the selected country...not all the states....i want such shorting functionality in my views exposed filter....
thanks in advance