Somewhere between Views 3.1 and Views 3.3 for Drupal 7, when you add a filter of Taxonomy terms it no longer gives you this option:

Selection type
Dropdown
Autocomplete
Show hierarchy in dropdown

And it must default to Autocomplete, or something else that doesn't work with Better Exposed Views and thus there is no way to get Checkboxes as exposed filters.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

a.ross’s picture

Running into this issue as well. Nothing I do makes the options show up. Neither in beta1 nor in dev.

mxh’s picture

subscribe.
Edit: Please delete this post, detected following button - my bad.

castle9mm’s picture

Just adding some information because I *thought* I was experiencing the same issue. I couldn't for the life of me figure out how to make the checkboxes show up until recently.

In D7, when editing the view, look under the 'Advanced' area for 'Exposed Form Style:' Once I clicked on the name, I was able to select "Better Exposed Filters" and configure more options. It wasn't really clear to me but maybe I missed it somewhere in the setup guide.

After changing the style, I now have the checkboxes visible for my view filtering by taxonomy terms. Forgive me if you've already done this and it's still not working but like I said, I thought I was having the same issue and thought it might help others who search for the issue.

Using Views-7.x-3.3 & BEF-7.x-3.0-beta1

mrweiner’s picture

@castle9mm Unfortunately for me, and it seems others as well, even with BEF enabled, checkboxes aren't an option. The only place where there is even a reference to the format of exposed filters/sort types is in the seetings. Under "Display exposed sort options as" the only options are Default Select List, Radio Buttons, and Links.

I'm assuming that this is one place where the checkboxes option should be available? This is the first I've used the module, but there is nothing that I can see that looks anything like the thumbnail on the module project page.

castle9mm’s picture

@mrweiner, the thumbnail for the project is for D6 and isn't like that for D7. That's why I was confused as well. Again, apologies if you really are having trouble but it was confusing for me in the beginning and I'm posting my screenshots for those that my need help. Here is where you have to 'enable' BEF in your view http://i.imgur.com/WycU2.jpg. It's under the "Advanced" section. From there you can enable BEF http://i.imgur.com/xtTQj.jpg. Once enabled you then click the 'BEF Settings' link near the link you clicked in step one. From here you can enable and change the display http://i.imgur.com/M60s9.jpg The only caveat was I had to actually have exposed filter fields before I could change up the BEF Settings. Possibly since different fields like terms vs CCK have different options.

So to clarify, do you not have those options available to you?

mrweiner’s picture

I already had BEF enabled under advanced, and have gone through the settings menu. For some reason, I do not have that checkbox menu under my advanced settings. Instead, my only options down at the bottom are the "More Options" boxes. Under exposed filter settings, it also says "Note: if "Allow multiple selections" is checked in the "Configure filter criterion" form, checkboxes will be used, otherwise radio buttons." Did you alter that/do you know where it is?

Also, if you look further up in the settings form there should also be a dropdown for "Display exposed sort options as." Would you happen to have checkboxes as an option in there? Because I do not, and I wonder if the issues are related.

castle9mm’s picture

@#6 mrweiner, sorry man. I'm not sure what the problem is then. I attached a screenshot of my settings for one of my exposed filters which is a taxonomy term reference. Even without the 'Allow multiple selections' checked, I still see the BEF drop down that lets me choose nested or regular checkboxes/radio buttons. I didn't have any exposed sort fields so I added a test one. I did get the drop down selection but it only included 'Default, Radio Buttons or Links' as options. No checkboxes, at least for the field I added to sort on. Here are my versions for comparision:

Drupal 7.12
Better Exposed Filters 7.x-3.0-beta1
Views 7.x-3.3

Anonymous’s picture

Is there any way we could update the description on the project page or even reference this post? I've been playing with the module for a few days and was about to abandon it before I found this thread. Once I saw the screenshots in #5 it made complete sense, but without them the module is pretty confusing to get started with.

emptyvoid’s picture

Yeah I don't understand why the options can't be on each field instead of lumped globally in the filter formats section.

I can understand that you may need to enable a special formatting but honestly I don't like that either. What if you want to use better exposed filters and group filters formaters together? Right now you can't.

I think the management GUI for filters is part of the problem it is an or or design instead of allowing compound sets of functionality and or modifications to the field and filter display properties.

For now the only course of action I can think of is to modify fields and filters via a custom module so I can apply multiple sets of functionality using two or more modules that modify filters.

JmsCrk’s picture

I already had BEF enabled under advanced, and have gone through the settings menu. For some reason, I do not have that checkbox menu under my advanced settings. Instead, my only options down at the bottom are the "More Options" boxes.

I have exactly the same problem as describe in #6. The only options I see at the bottom are 'More Options' boxes. I am trying to get an exposed taxonomy term filter onto a view that is using search_api.

I have tried 3.0-beta1 and -dev version of Better Exposed Filters
Drupal 7.14
Views 3.3

Does anyone know how to fix this or what the problem could be? (Or if there's another way to get checkboxes?)

jtoddm’s picture

It is dependent upon the cck field widget type. If the fields widget type is 'text field', you will not see a checkbox/radio or select list option in your exposed filter. Therefore you will need to make the field type something other than 'text' which will only allow a widget type of 'text field'.

A field type of List (text) or Term Reference will do and then choose the widget type accordingly.

Taxoman’s picture

Version: 7.x-3.0-beta1 » 7.x-3.x-dev
Component: Code » Documentation
Priority: Normal » Major

#4/#5/#8: I also think that this issue should be referenced on the project page, and with a comment about the current misleading illustration image there (or replace it with a new/better one).

sondes’s picture

I ran into a similar problem/confusion when setting up BEF. I finally realized that the trouble I was having had to do with exposing a "Taxonomy: Terms" field versus the "Content: Has Taxonomy Term" type. The Taxonomy based field doesn't have the options I was expecting but the Content field does.

mikeker’s picture

Priority: Major » Normal
Status: Active » Closed (works as designed)

I think there are several issues at play here. So, first, some fundamentals:

  1. BEF can only set radio button/checkboxes on filters where Views supplies a limited list of options.
  2. In 3.x, Views introduced the idea of the exposed form, rather than exposed filters. This let's us put all exposed elements within the same form. Settings for all items in the exposed form moved to the exposed form settings dialog.
  3. Yes, the image on the project page is from the Views 2.x branch. But with over 5k active installs, it's hardly misleading.

If Views gives you a text field (eg: taxonomy:term filter set to autocomplete) then you won't get radio/checkbox options. If Views gives you a single or multi-select box (eg: taxonomy:term filter set to dropdown).

While it's possible to move some of the BEF settings into the filter definition dialog that would not be keeping with other plugins in the Views universe and prevents us from taking advantage of Views' object oriented approach. So, it's not ideal, but that's where BEF settings will remain.

Finally, please look at the documentation. I feel it's pretty good at explaining where you need to go to adjust BEF settings for each combo of Drupal and Views. And if it's not (it could use more screenshots...), you can always make it better by clicking the edit button at the top.

dhineshr’s picture

Better Exposed Filter working well and good until i enable the Auto Submit option. My Check boxes are gone and shows simply the list. So i uncheck the auto submit, but still i don't get the options to choose.

Filter criteria:
Content: Has taxonomy term

Selection type
Dropdown

http://i939.photobucket.com/albums/ad238/dhineshr/Screenshotfrom2013-08-...
http://i939.photobucket.com/albums/ad238/dhineshr/Screenshotfrom2013-08-...
http://i939.photobucket.com/albums/ad238/dhineshr/Screenshotfrom2013-08-...

ajwn’s picture

I have a similar related problem. I can get a select list to render as checkboxes but when I enter more than 4 terms in a grouped filter list the checkboxes revert to multiselect list. No options in the BEF settings for that filter to select anything different.

mikeker’s picture

#15 and #16, keep in mind that you are adding comments to a closed issue.

#15, I can't help you without an export of the view in question. Screenshots are nice, but there are so many places where views can have incorrect options set.

#16 is completely unrelated. Please open a new issue with details on how to reproduce the problem.

thanks.

jlsevillano’s picture

Issue summary: View changes

I have the same problem #16

I want to have a checkboxes in multiselect option, but always turn it on multiselect list

Potencia is my problem i don't find any solution? Somebody found it?
http://www.atlasrenovaveis.co.mz/projectos

mikeker’s picture

@jlsevillano: You're commenting on an issue that has been closed for nearly 2.5 years...