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

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

How to get group audience in drupal 7 views filters

I am working in Drupal commons and i need to get group audience fields into view and need to set only public Node(Blog) type.Here i tried to get group audience field in view using this @arpitr ...
0
votes
0answers
13 views

Remove filter from a view id another filter has a value

In D8 I am trying to remove a filter from a view in case another has a value. I am able to remove it in hook_views_pre_build(): function MODULE_views_pre_build(ViewExecutable $view) { ...
0
votes
2answers
11 views

Taxonomy exposed filter in views

I have a content type with a field 'field_departimage' which uses entity reference to reference a taxonomy I have set up which holds the name and image. I would like to filter by the taxonomy 'name' ...
0
votes
1answer
9 views

how to create exposed filter by custom table

I have one of custom table with fields name title and id.Now i want to add these title in exposed view filter as drop down.How to create exposed filter for this. Could anyone explain where I can find ...
0
votes
0answers
8 views

Is there a way to setup a hierarchy of checkboxes for a views filter?

I'd like to create an exposed Views filter for select field in a content type that looks like this image. Note that you can select multiple subcategory as well as a primary category. I've looked at ...
0
votes
0answers
4 views

Exposed Filter checkbox to check if a field has value

I have a textfield named PubMedID and on views I have to have an exposed on/off checkbox that will check if that PubMedID textfield has a value. When checked it should only show results that PubMedID ...
0
votes
0answers
12 views

How to create exposed view filter using flag as drop down?

I have created a flag. Now how to use these flags as a drop down in exposed view filter? There is one post regarding this How do I add dropdowns in Filter Criteria in Views module? but this is not ...
0
votes
0answers
17 views

In views my contextual filter does show the default option of “PHP Code”

In views my contextual filter does show the default option of "PHP Code" How do I implement this? thanks -Sean
3
votes
2answers
46 views

Changing label of views exposed date filter select list

Trying to change the label of a views exposed date filter based on Year granularity which is a select list. I have given date range to the filter thus it does not generate the "#options" array. It ...
0
votes
0answers
11 views

Views sort criteria by term for advertising

I have view displaying 3 types of content with, one of the filter criteria is taxonomy term for city. I would like to give user option to pay to be first on the list for a specific city(term), and ...
0
votes
0answers
20 views

VIews Exposed Filter - custom query on date field

I have a content type with a date field. I further have a view with an exposed filter for this date field. In the view I don't want to filter for a specific date range but for any or no value set. ...
1
vote
1answer
17 views

Search/filter box for Views on separate page

I am running the latest versions of Drupal 7 and Views 3. I have a Views catalog with exposed filters for two different fields. What I would like to accomplish is to have a search box for the catalog ...
0
votes
0answers
10 views

content View display contexual on body of another content type

On my site, I have two content types, FAQ and Datasheet. I generate product pages using views that draw fields from the product page, and then I stick that view in a panel. In another panel, I am ...
2
votes
1answer
31 views

How to get a separate form_id for each of the taxonomy/term/%term exposed form?

I'm trying to combine in a smart way Contextual filters Has taxonomy term ID with Remember the last selection feature of exposed form filters in a view. Context A taxonomy vocabulary called ...
0
votes
1answer
22 views

How to auto submit only after typing at least three character in view exposed filter

I have a view with exposed filters using AJAX and auto-submit feature. The problem is it reacts to every char I type but what I want is that when a user type at least three character in the text ...
1
vote
1answer
42 views

View filtering all records with no argument, empty text with invalid argument

I have a view with a block display that I need to filter by: All records when no argument present e.g. /foo All nodes with specified valid taxonomy term ID e.g. /foo/bar Show empty text when ...
0
votes
1answer
18 views

Views display 0 items

I got to be missing something obvious. I want to display in my view 0 items until they use the Filter Criteria exposed filter with a search parameter. Under Pager Use Pager I can't see how to display ...
0
votes
1answer
13 views

Block View for specific form

I have two forms on my site. I want to create a Block View for only one of them but as I choose "Webform: Webform form body (Form)" for the Fields in the View, I get both forms showing. I'm trying to ...
0
votes
1answer
26 views

Views exposed filter for several fields

Have 3 content types. Apartment, hotel, motel. Each has integer field "number of beds". Lets say user wants to see apartments that have between 10 and 15 beds. In views for apartment i made exposed ...
1
vote
0answers
26 views

Filter on a single field from a field combination in a View

I'm working on a Drupal 7 site that shows the projects done by the researchers in an organization. The Projects content type has a field collection of researcher first, researcher last and role. The ...
1
vote
0answers
22 views

Getting checkboxes to display in three columns [closed]

I have a form with a long list of checkboxes (in an exposed filter form) and want to show the boxes in three columns. This should be an easy CSS issue, but it's not working consistently. Strangely it ...
2
votes
3answers
62 views

Views - Exposed Filter for 2 Field Collections with Same Fields

I have a content type with 2 Field Collections(both set for unlimited values), they are Author and Editor. Both field collections are using the same fields(first_name and last_name). In a Views that ...
0
votes
1answer
31 views

How to add placeholder to exposed date filter form field

This is the structure of date field in my exposed form <input id="edit-date-filter-value-datepicker-popup-0" class="form-text hasDatepicker date-popup-init" type="text" maxlength="200" size="20" ...
1
vote
2answers
33 views

How to filter types of Webforms with Views

I am trying to create a simple View of webforms to display a list of currently available jobs. This is what I am trying to accomplish: Webform1 description description description description... ...
0
votes
0answers
16 views

Drupal exposed search form not working properly

I have a view and i altered with custom query. It works as expected but fails while searching when both start and end date are same. No result message is showing. `if ( isset( $_GET['date_filter'] ) ...
0
votes
1answer
11 views

How to join another table via altering view query as exposed filter

Hi I have created a view and exposed the view with node title. Searching is done on title and its working fine. But I have a requirement that when some one searches through title, the search text ...
1
vote
0answers
49 views

How to sort content of nodes by dynamic fields?

I have a content type named "Article". "Article" has fields: Body, Image, Tags, etc. I want to create a sort handler that will sort node content by content type fields. I know, every field has its own ...
0
votes
0answers
21 views

Filtering using an indexed node reference field

I have a content type with a field type of node reference displaying multiple values. When uploading content, the field works fine showing multiple values. But I want to use that indexed field as one ...
-1
votes
0answers
18 views

Views 'Search terms' exposed filter not working in PROD but works locally

I know this is a lame question but I have a view which has title, body and taxonomies. I just need to search them all together which is achieved by Search Terms. The problem is that I can perfectly ...
0
votes
0answers
10 views

Prepopulate Exposed Group Filter with relevant values

I have a view which displays the venues (including city), dates and times shows are being performed at. Once a date passes the listing disappears. There are more shows in the database than are being ...
1
vote
2answers
24 views

Unable to filter Views by a date field in the user profile

I have used the Profile module to create a date field on users profiles. Now I want a view to list users filtering by that date field, but when I choose "Add filter criteria" in the Views UI, it does ...
1
vote
2answers
89 views

What hook_form_alter code do I need to change an exposed filter from a text field to a select box search?

I have a view that has an age to and and from fields, and others also that I want TO and FROM. These are integer fields, so drop down select doesn't work, better exposed filters is also not an ...
0
votes
0answers
15 views

Reneme -Any- option in views filter [duplicate]

I have created five view with 4 filters. Filter works fine. Filter display -Any- option by default.I want to rename -Any- option in filter. How to do this?
0
votes
0answers
8 views

Views Attachment Isn't Inheriting All Filter Values (Some but not All)

I have a View with a Page display that shows a table of fields. It has 3 exposed filters ("Last Race Date", "Crowd Size", and "Average Temperature"). The View also has an Attachment display which ...
0
votes
2answers
36 views

How to sort view by a field that is part of a field collection?

I had searched solution for my problem, but I didn’t found anything good. I have custom a node type Client with Field Collection Product. My field collection has two fields: name of the product ...
0
votes
0answers
7 views

views exposed filters with or grouped filters doesn't give result I expect, where'e the problem?

so what did I do: I have a views calendar which shall show results of 2 content types. These 2 content types have different exposed filters, combined by 'or' groups. Without filters I see the ...
0
votes
2answers
40 views

Want to use exposed filters to pass arguments to a view

The title explains a lot. I have a view which shows everything of the content type and has exposed filters.(<-main view) Now I made another view where I used the exposed form style because I ...
0
votes
1answer
17 views

Creating an exposed filter on a view as a list with taxonomy terms

I have categories of photographs and each photograph is categorised. So to expose the filter to the anonymous user they can click on a category and it shows that categories images. How would I ...
0
votes
1answer
19 views

Create a view to list contents according to taxonomy & content type

I have vocabulary with these terms Countries India USA UK ... Sports Soccer Hockey Cricket .... And I have following content types News Events Article ... I need to create view that will ...
0
votes
0answers
8 views

Exposed filter of content type set to related term

I have used Taxonomy term template in views to show ContentType-A*. While **ContentType-A has a field reference for ContentType-B, and I want to use ContentType-B as exposed filter. The problem with ...
0
votes
2answers
36 views

Views merge rows: merge uniques values and show the first one

I'm using Views merge rows to grouping rows by some fields, It worked good for me, but in some fields I want to show just the first filled value that means: merge uniques values+use the first value. ...
0
votes
1answer
22 views

How to setup views exposed filter with result between 2 fields values

I have content type called the materials with 2 temperature fields as Max. and Min. in the views, there is between operator from filter and normally it use for user could input 2 values to the form ...
0
votes
1answer
47 views

How do I display a search result message that includes filter criteria?

I have a view to display nodes, with many filters and sorting conditions; that it gets confusing. I want to display the effective filters somewhere, for example refined by X or sorted by Y. is there ...
0
votes
1answer
18 views

Combine recent and popular items in Views

I need to show 2 popular and then 2 most recent items, and again next 2 popular and next 2 recent items in Views. Any idea how to do this?
0
votes
0answers
9 views

Using a contextual filter as a search term

I'm attempting to allow users to search for titles of a specific content type in a view. I'd like to be able to pass a search term into a contextual filter but I can't seem to get that to work. Right ...
0
votes
0answers
22 views

exposed filter not working on commerce products

Problem I'm trying to get an exposed filter working on på product page similar to what suggested here: http://stackoverflow.com/questions/11825782/filtering-my-products-on-drupal-commerce Structure ...
0
votes
1answer
26 views

Without page refresh views exposed filters have to work (without AJAX)

I want to create the Gallery like Example gallery link. Taxonomy filed in views exposed filters. Anyone guide to me?
2
votes
0answers
15 views

Filter Criteria problem with condition

I have one view and need to filter from more than one content type and condition. But I can only use only one group, if I create more group, the content can not be selected. please kindly answer my ...
0
votes
0answers
11 views

Converting referenced product into product display node?

I have a content type of "Product of the week" where an admin will choose 3 products and save this, from here a view pulls in the following information: FILTER CRITERIA: Content: Type (=Product of ...
0
votes
0answers
31 views

How to show a Views Slideshow block on a basic page with images from only one node

I have a page with an URL like this: example.com/albums On this page i'd like to show a Views Slideshow with all images from the latest album node and JCarousel pager items. This Slideshow would for ...