When I create a filter, the option to expose it is not offered. How do I expose a filter?

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Can you give some more informations:

* Which filter does not offer to expose
* Did you tryed to update to views and ctools dev?
* Which theme do you use? Did you tryed to switch it?
* Can you post us a screenshot, perhaps you just don't see where to click.

edale2112’s picture

I don't see the option anywhere. In particular, the filter area. I'm using ctools 7.x-1.0-rc1 and views 7.x-3.0-rc1. Theme is Garland 7.7. I did try to switch to Kanji 7.x-1.6, AT Admin 7.x-1.0 and Seven 7.7 but no help. I've seen the option available on screencasts so I think I know where to look.

dawehner’s picture

Can you please answer the screenshot and the dev question?

LarryTX’s picture

StatusFileSize
new8.72 KB
new41.55 KB

I'm having (I think) the same problem. Basically, the problem occurs on every type of filter and every content type. What happens is that the "Expose Filter" button displays rarely and randomly. (See the attached Exposed Filters Problem 1 screenshot.) When that happens, the expose filters functionality works and "sticks."

Most of the time, all that you have is the expose filters checkbox as illustrated on the attached screenshot. As far as I can tell, that checkbox does nothing. If you select it, save the filter and the view, and go back into the filter, the box isn't checked; it doesn't "stick." Further, the main Views configuration page doesn't show the filter as being exposed. (See the attached Exposed Filters Problem 2 screenshot.)

This was happening on the "Recommended" version of both ctools and views. Per your recommendation, I installed the dev version of both; it didn't make any difference. The problem remained the same.

As to the theme, my main theme is Omega, but my admin theme is Seven. I tried changing to Bartik, and the problem remained the same.

dawehner’s picture

In the new views3 UI the exposed button is a checkbox "expose this fiilter to visitors..." which is generated via js. If you look at the html you would still see the button.

LarryTX’s picture

Odd, because sometimes the button does display, and it seems to work when the button is actually displayed as a button. Nonetheless, as I said before, selecting the checkbox does nothing. In fact, it doesn't "stick." I've repeatedly selected it and gone back into the filter configuration only to find that it isn't checked and the filter is not exposed as in the screenshots I attached.

milenv’s picture

If you have enable the Theme developer module the problem is there. Disable it until you make your view.

LarryTX’s picture

Thanks a million! With the Theme Developer disabled, it works perfectly. I should have remembered that Theme Developer used to cause problems and, apparently, still is in ver. 7.

dawehner’s picture

Status: Postponed (maintainer needs more info) » Fixed

Can't someone remove this module totally? It causes quite some problems. Update status

Status: Fixed » Closed (fixed)

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