Hi all,
I am not able to make this module work.
I have a vocabulary called country.Each term has children the cities of each country.For example the Germany has childern Berlin,Munich etc.I expose each country with a views exposed filter.
How can I make when I select a country a new filter to appear containing the cities of the selected country?
Thanks in advnace

Comments

joachim’s picture

This module works with two different filters: the values in filter A control whether filter B is visible. I can't tell whether your case applies to that.

user654’s picture

.

joachim’s picture

Status: Active » Fixed

Closing as fixed.
If the README wasn't clear enough about how to set it up, please reopen with the bits that were hard to follow.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

novicesmith’s picture

It is only working when I added the Published and Title field. It is not working with drop down filters.

meeta’s picture

meeta’s picture

Hi

I am doing it the same fashion. but its not working. can u plz explain its wrking in an elaborative way.
It will be of great help.
Thanks in advance.

joachim’s picture

Have you read the README file?

1. Add a filter of type 'Global: Dependent filter' to your view. It should be positioned after the controlling filter and before the dependent filter(s).
2. In the first settings form, choose the controller filter. Only filters prior to this one in the filter order are available.
3. In the second settings form, choose the values on the controller filter that allow the dependent filters, and choose which filters are dependent.

ditcheva’s picture

I'm having some trouble as well.

I've positioned my global filter between the controlling and dependent filters, but both of the filters are always exposed/visible -- the second filter is never hidden (I have selected it as a dependent filter). It has been set to 'exposed', but I don't think that should be an issue, because if I uncheck that box, then it isn't available in the global filter's screens.

I'm just wondering, might this have to do with some of my filter settings (such as that I allow multiple selections, etc)?

I haven't figured it out yet, but am wondering whether there are any restrictions in this module's usage that I should be aware of.

Thanks so much!

Mulder’s picture

Component: User interface » Documentation
Status: Active » Closed (fixed)

Hi ditcheva,
I have the same issue. Did you alredy solve it?

Geijutsuka’s picture

Component: Documentation » User interface

I set up a new sandbox just to play around with this module and found out that it does not hide dependent exposed filters if the controlling filter is a field. For example, say you have a content type called "Vegetable" and it has fields called, "plant type" and "flower color." You make these two fields exposed filters in the view, but you only want the "flower color" filter to show if someone selects certain value(s) in the "plant type" filter. For whatever reason, both filters will still show.

So far, I have figured out that the dependent filters will work beautifully if you make the controlling filter anything but a field from a content type. I noted that this also applies to taxonomy term reference fields; if they are set as controlling filters, the dependent filters will not be hidden, but you can use Content: Has taxonomy term as a controlling filter instead.

The module does work, and it's a really slick one at that, but there's something weird going on with the way it interacts with fields.

joachim’s picture

Status: Closed (fixed) » Active

Could someone with this problem give me either a zipped-up Feature that shows the problem, using core Drupal entities please?

I'm pretty sure when I wrote this module I was working with fields!

joachim’s picture

Component: Documentation » User interface
Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.