Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I work with this module on D6 without any problems. But on a D7 site can't get it working.
I just created a simple View containg just one exposed filter "Has taxonomy term (selective)".
The "Exposed Form Style" only shows "Basis" and "Input Required". Running the View the
Dropdown fpr the Terms only contains "All" and "Actual Values will be available at run-time".
Any idea?
Comments
Comment #1
thommyboy CreditAttribution: thommyboy commentedsomeone an idea?
as a background- what i want to achieve is the following:
- i have a taxonomy/term view
- my vocabulary has sub-terms (depth)
- i want to expose the subterms for a given term on his taxonomy/term page
to achieve that i used a (not official) D7-port of tax_depth_lim_filter (to display only depth=1 terms)
but now- of course- ALL depth=1 terms of ANY term are exposed despite the fact that my view
only shows node of a given term.... so if i could limit the exposed filter to values present in the
resultset everything would be like it should.
i did the exact same thing on a d6 and it works fine http://4-seasons.tv/kanal/beratung-service
but there I can choose "Selective Exposed Filters" as Exposed Form Style which I can't on D7
Comment #2
thommyboy CreditAttribution: thommyboy commentedComment #3
Poieo CreditAttribution: Poieo commentedInstead of using Has taxonomy term (selective), use the actual term reference field. And, be sure not to select anything under Options (select all or Actual values will be available at run-time).
Comment #4
thommyboy CreditAttribution: thommyboy commentedHi, thanks for your quick reply. If I do that (and forget about tax_depth_lim_filter) the result is
- exposed filter contains only the FIRST level of the vocabulary (but the correct one)
- still no "selective exposed filters" available for exposed form style
Comment #5
Poieo CreditAttribution: Poieo commentedThere is no exposed form style. You should have additional fields to choose from to add as filters that are labeled (selective).
Comment #6
thommyboy CreditAttribution: thommyboy commentedHm- but in D6 there was? I could set " Limit "Taxonomie: Term ID (with depth, limited dropdown)" values to result set"
there- that's exactly what I'm looking for, a way to limit the exposed values to the result set....
Comment #7
david_garcia CreditAttribution: david_garcia commentedPlease, help review this SandBox module:
https://drupal.org/sandbox/david_garcia_garcia/2162097
So we can decide if it can properly replace current module.
Thank you.
Comment #8
thommyboy CreditAttribution: thommyboy commented@david_garcia_garcia
got it to work with your sandbox module. only one thing is not working (but did in D6)- I used an additional module tax_depth_lim_filter and found a working unofficial D7-Port on https://drupal.org/node/1213680 but those modules don't work together. actually what I want to achieve is
- limit exposed filters to terms available in the result set (done well by your module)
- additionally limit the terms to those of a given level in the vocabulary....
Comment #9
david_garcia CreditAttribution: david_garcia commented@thommyboy: please move this to the proper issue queue with as much detail as possible. Greetings.
Comment #10
infojunkieThis module has been deprecated in favour of https://drupal.org/project/views_selective_filters. Please test there and reopen if necessary.