Views filters allow to filter the content shown in a view.

learn more… | top users | synonyms (1)

1
vote
0answers
9 views

View - show predetermined result set prior to exposed filter

Standard behavior: I have a view that has some filters exposed to the user. When the user first visits the page, the exposed filters are empty and the view just shows everything. When the user ...
1
vote
0answers
17 views

Views changefilter/argument when no results occur [duplicate]

i am using a date range filter which will list news for this week(Sunday to Saturday of current week). Am getting the results correctly. Now am want to show the news for next week if there is no news ...
0
votes
1answer
16 views

How can we create a search form to display a specific node

I need to create a result publishing system in drupal. there must be a search page to enter the student register number. when the user enter the register number it should take it to a single ...
0
votes
1answer
26 views

How do I change submit URL for exposed search filter?

I've created view using Search API Views with two different displays. First Page display (by_terms) and with the following options: Page settings: Path:/taxonomy/term/% Contextual filters: ...
1
vote
1answer
13 views

Views: attachment inherits exposed filters when set to No

I created a page with an attachment to it. Its a Glossary for the Username. And here is my attachment setting: i Have exposed filters on the page where it is attached to: And the Filters ...
0
votes
1answer
19 views

How to display all when input argument is wrong

I create a view display a books depend on url argument (book type name) ... And when book type name is not exist in book types list ... view be empty .. how can I when the url argument is wrong, ...
1
vote
0answers
20 views

Results of parent view are not getting displayed when attachment is used

I have a page view with an attachment with following settings Attach to: Page Attachment position: After Inherit contextual filters: Yes Inherit exposed filters: Yes Access: Permission | View ...
1
vote
1answer
11 views

Views Filter Content Type Drop down option sorting

I have a view to with the Filter of Content Type in drop down and based on selection it is displaying the nodes. Now I need to alphabetically order the Content Type options into Filter Drop down. ...
0
votes
1answer
26 views

Date field with granularity of Month, Year in Exposed filter, how to alter the default value?

I have a Date field with granularity of Month, Year in Exposed filter. Everything is working fine, but the month and year default values are shown as "-Month" and "-Year". Let me know how to alter ...
1
vote
1answer
17 views

Need to add filter with more than one word in view filter criteria Drupal7

I need to add one filter that can take more than one word for searching. Right now i selected "contains" option in Operator for filter criteria. ie i need search string like this: title=word1 or ...
1
vote
1answer
29 views

Getting AJAX 200 error when view with custom exposed filter has no results

[Edit 3: this turned out to be one of those phantom views problems (*) - after messing around w/ a test view cobbled together to use the custom filter, etc., etc., I ended up simply cloning the ...
1
vote
0answers
9 views

Archive block giving SQLSTATE[42000] error using views 3

I'm trying to make an archive block in views to filter my posts by year and month etc. I'm following a tutorial: http://chrisshattuck.com/blog/how-create-monthly-archive-block-drupal-blog-views but I ...
1
vote
1answer
33 views

AJAX Problem in my form

I am about to create a filter views handler extended from views_handler_filter_string (you can see the class under views/handlers), so I have to override my method value_form to create a new value ...
1
vote
1answer
20 views

how to filter blog posts by taxonomy and by year

I have been trying to build a filter fuctionality for blog posts. I would want to filter by taxonomy terms and by the year the post was published. So basically in the content I want to list all blog ...
1
vote
1answer
26 views

Views attachments and filters

I've created a view from geocoded nodes which shows nodes on a map. I've also created an attachment view which I've attached to this map view. This is to have a listing under the map view to make ...
0
votes
0answers
25 views

D7, V3: how to alter the state of a radiobutton in an exposed filter to “checked” based on the url path?

I have a site where i have several main topics, each containing subtopics. I've made views block which is shown on each of the pages of the main topics where you have two filter options: - filter on ...
2
votes
1answer
43 views

drupal views with contextual filter [closed]

I have created a content type page named events where several fields are there. also I have created a view page where list comes of events(title,body and read more). when we click on read more it ...
0
votes
1answer
23 views

SHS field is not showing in drupal 7 MEFIBS

I am using Drupal 7 MEFIBS module, it will help to add more exposed filter blocks. But, in this case, SHS filed not showing. Needs to configure anything in that? Thanks in advance.
0
votes
3answers
35 views

how to set default value for expose filter rater than -any-?

I have a expose view in drupal 7 . I need to set default value is current year. and need to remove -any- from the optoins.
0
votes
2answers
19 views

Views page list of all content grouped by taxonomy term

I have created a view in Drupal 7 that displays all nodes that contain a particular taxonomy vocabulary. The view contains a page in an unformatted list format set to show content | teaser. All I am ...
1
vote
2answers
32 views

Show a view's filter as a menu

I'm recently working on a view and i want to show the filters (two of them) as a menu. This means: That both filters can't be used at the same time (most important, a.k.a if one filter is already ...
0
votes
2answers
19 views

how to filter expose view using current year in drupal 7?`` [on hold]

I have a content type in drupal 7 with year field.. I need to create expose view for this and filter via year. but I need current year by default.
-1
votes
0answers
8 views

how to show only latest post on expose filter in drupal 7?

I have a view in drupal 7 with expose filter.I want to show latest 2 node on -any- option in drupal 7.
0
votes
2answers
42 views

SHS module in drupal 7 views

I am using Simple hierarchical select module and I am having terms lists like below; India a) Karnataka Bangalore So, I want this filed as exposed filter in my views. Let me give example, ...
1
vote
1answer
42 views

Can't find View's Filters variables

I'm trying to create a button that create a new content type based on the one selected in the view filter. I have had some problems finding the correct variables to use them in that case. I'm actually ...
1
vote
0answers
10 views

Using multiple AND/OR operators in contextual filters

I'm trying to query my nodes by using a contextual filter in views, however, I am unable to use multiple AND (+) operators and OR (-) operators at the same time. For example: This works: ...
1
vote
0answers
19 views

Render a Views exposed filter in a region without exposed them as a block

I have already 20+ view pages that use exposed filter for filtering out content. What i want is to place the filter in the sidebar and not in the top of the page (different region). I can exposed the ...
0
votes
0answers
7 views

views : Change Fate of filtered out nodes from drupal view filters

When filtering nodes using filter criteria from view (in my case exposed filter ), the excluded nodes are not displayed. What i would like to achieve is displaying these excluded nodes but ...
1
vote
1answer
28 views

Is there a way to pass an argument to a view without using the url?

UPDATE: Shawn's answer is correct but I'd like to mention for anyone else looking to implement it. The arguments must match the contextual filters you've added, in the same order. Right now I'm ...
0
votes
1answer
24 views

Disable ajax from exposed form filter only

Is it possible to disable the Ajax from the exposed form filter only and not the whole view action [sorting - paging] !?
1
vote
0answers
13 views

Views ajax pager with pushstate

I have a views page in which I can search by narrowing down to a category. It also has a pager. So you could get something like Category: X page: 2. When I found the result I'm looking for I navigate ...
0
votes
1answer
10 views

How to propely add views grouped filters with exposed filter in one of them

I have a views with grouped filters like this Group 1 field_1_condition AND field_2_condition (exposed) OR Group 2 field_3_condition field_4_condition I am expecting it to work like this: ...
0
votes
2answers
18 views

Views filter count

I'm trying to set up a block that will allow me to show 6 items in it, 2 that are checked yes and 4 that are checked no. They are sorted by date so I have a pager set up to take the first 6 values. ...
0
votes
1answer
12 views

AJAX populated filter breaks when Views Dependant Filter module added

I have a view with two exposed filters and I want to make the second filter dependant on the first in 2 ways A user has to select an option from the first filter before the second is available to ...
0
votes
1answer
19 views

Dynamically change views entity reference filter based on current form value

Is it possible to change the result of the view depending on the value being selected on the form, node creation form without saving it first? Last time, my problem was filtering the views depending ...
0
votes
0answers
3 views

Drupal 6 views, exposed filters and sorts work together ajax way

Drupal 6 views, exposed filters and sorts work together ajax way In Drupal 6, created a view to list selected content (questions). Filters: taxonomy category, expose the filter. AJAX: select to use ...
0
votes
1answer
26 views

views exposed filter does not redirect to itself

I came across to issue with exposed filter in my view. In a view's preview everything works fine. But on the page, after clicking apply button, the site redirects to front page, with get parameters in ...
0
votes
0answers
9 views

How to use arguments of exposed page filters as contextual filter for block on that same page

I have a Views map page which correctly shows markers filtered by Destination and Category through exposed filter criteria of the kind: ...
0
votes
0answers
13 views

Allow a user to sort a list of nodes for the purpose of discovery

I've got a list of nodes (restaurants) that each have the following fields: name, price, opening hours, location. I'm looking for a sort module that allows users to input their desired price range, ...
0
votes
1answer
28 views

Exclude exposed filter for one content type in my view

I use leaflet map for displaying markers, like that : My actual view - filter criteria : - Content published AND - Content - Has taxonomy term AND - Content - Has taxonomy term AND AND Content type ...
0
votes
0answers
11 views

views exposed filters programmaticaly adding content titles as select list with content types

I have created a view which displays content types as select list with exposed filters as my requirements, I want to add a select list of content titles. Example I have an content type article which ...
0
votes
2answers
28 views

Adding a radio buttons in views exposed filters for published and unpublished drupal 7

The above view shows articles content type, which is exposed filter.I want to add a radio buttons as i have shown in image for published and unpublished,can I get this functionality programmaticaly ...
0
votes
0answers
17 views

Add Place holder Inside views exposed filter , If left empty [duplicate]

How to add placeholder inside views exposed filter , only after submitting it , if left empty? but show results on basis of other exposed filters . This question is different in a way that i want to ...
1
vote
1answer
27 views

Views: Display filters as a HTML UL list of links with clean mark up

I have a View that has a filter which allows users to select nodes that contain specific taxonomy terms. I would like to display this as a HTML list of links (<ul>). How can I do this? ...
0
votes
0answers
38 views

views exposed filter listen to node form values

If view block with exposed filer or contextual filter is placed on node/add , node/edit form and node is having some field which could be used alternate to exposed filter or contextual filter. Is this ...
0
votes
6answers
155 views

It is possible to have placeholder text on a view filter with type date_text?

I've got an exposed filter on my view that allows users to specify a date, and I want to specify a placeholder for this text field. I've tried doing this using the following code in a hook: ...
0
votes
1answer
16 views

How to combine two nodes based on common title in Views?

I have a Commerce site selling clothing. Some Product Displays have multiple Commerce Products associated with them, and some have only one Product associated with them. For example... Shirt - Large ...
0
votes
0answers
16 views

views_handler_filter_in_operator with option arguments the View's Contextual FIlter value

I have created a view with a Contextual Filter (taken from the URL) in Drupal 7. In this view I need a filter which enables the user to pick one of many values. The views_handler_filter_in_operator ...
0
votes
1answer
28 views

Add views block to views header

I want to have the views header elements after exposed filters, so i try to get the filters in the header. For that, i expose them in a block, and try to add that block to headers, but no success. I ...
0
votes
2answers
21 views

How can you set a default for an exposed views filter added as “Content: Has taxonomy terms (with depth)”?

I don't see a default value setting in the views UI, so I tried using MYTHEME_form_views_exposed_form_alter to set the $form_state['input']['term_node_tid_depth'] = 15 (15 is the index of the desired ...