exposed filters with hierarchical select

gr4phic3r's picture

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

Login to post comments

This is supported since

Wim Leers - Sat, 2009-09-26 12:58

This is supported since mid-August. Updated to the latest version for Drupal 6 to get this functionality! :)


More information

pronce - Thu, 2009-10-22 15:22

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

gr4phic3r's picture
gr4phic3r - Fri, 2009-10-02 06:56

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


Yes, one term for each

Wim Leers - Sat, 2009-10-03 08:25

Yes, one term for each country/district/city/…


ah, ok, thxs i will give it a

gr4phic3r's picture
gr4phic3r - Sat, 2009-10-03 08:36

ah, ok, thxs
i will give it a try :)

greets