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

learn more… | top users | synonyms

0
votes
1answer
9 views

Role based exposed filter is not showing anonymous and authenticated roles there. Can anyone tell me any method to add that roles?

I've created one drupal7 view which will filter all contents based on roles not current user role. For that I've created one relationship 'author' then in view filter criteria I've given exposed ...
0
votes
1answer
19 views

Advanced Views Filter

I would like to build a view (slideshow) of profiles, which is relatively easy to do. However I would like to filter them based on a node field of the page the view will be displayed on. I defined a ...
0
votes
0answers
12 views

CreateView Expose Filter Block

I have create a view and expose 3 filter but I want to create a expose block only one filter. I have expose title,post date,and global search. but how to create only block of title in view. when I ...
0
votes
0answers
13 views

How can I filter for “happening either now or in the future”?

I want to have an exposed filter for noticeboard items that chooses between "current & upcoming" and "past". I'm using the composite views filter module to allow different filtering based on what ...
0
votes
0answers
40 views

change FILTER CRITERIA for display (in views)

I want to have different filter criteria for one display in my views. I added it and when i hit "Update preview", the data shows up as expected in the bottom area of my views window. But then, when I ...
1
vote
0answers
19 views

How do you add the NID as a view filter criteria and not contextual filter?

I'm using an Entity Reference field, displayed as a View, to select an "Work Entry" node type. The Work Entry nodes are selected when creating/editing an "Invoice" content type. So the user will be ...
0
votes
0answers
13 views

How can I filter a View by the value (or data) of field?

This seams like quite a basic thing but I cannot work out how to do this in Views, since the Views filter criteria has no option to use the data/value from a specific field or token. There is only an ...
0
votes
0answers
5 views

Creation of two independent filters exposed (without and/or)

I have a view contains logos of clients, and I want to put two filters (taxonomy), one can choose the countries (France, Switzerland, ..) and other sectors. I used the exposed filters but the problem ...
1
vote
1answer
35 views

How to set up Views PHP filter?

I'm trying to use Views PHP filter feature to remove rows which don't contain some data (I can't just use "Hide if empty" feature, because the module returns a string even if there is no real value. ...
0
votes
0answers
38 views

An illegal choice has been detected. Please contact the site administrator in views exposed filters

I am using filter criteria in views for displaying data based on the input selected by the user. Actually the drop down values in filters are node values of two content types.When I add content to ...
0
votes
0answers
16 views

filter views for a view

I have a view and i want to show all the recent new posts, forum, blog and articles. I created the view to show in a grid format with a single column and a separate line for each entry. so far what ...
1
vote
1answer
17 views

How to make drop down field as mandatory field in views exposed filter?

I need to make one of my drop down field in views exposed filter as mandatory field.How can I achieve this?
0
votes
1answer
24 views

Suppress VIEW on a specific URL

There are two URL's on which I want to suppress a VIEW , Below are the urls's : http://mysite.com/drupal/?q=searchpanel&body_value= http://mysite.com/drupal/?q=searchpanel How can I stop a view ...
0
votes
0answers
11 views

suppress view on first load of page but allow it on any subsequent operation

I have a view on a panel page . when the panel page is displayed by menu first time , I dont want to display the view , but any subsequent operation done on panel , the view should appear. so ...
0
votes
0answers
20 views

user reference field as exposed filter in view makes it very slow

I am using user reference field as exposed filter. The problem is that, it makes view very slow. Actually, rendering time is one minute for 100 results per page. If i remove it from filter, it goes ...
0
votes
0answers
13 views

Display chosen filter values in page showing exposed filters results

I have a View with exposed filters available as a block. I want to display the chosen filters at the top of the View's filtered results as plain text... for example, if the person chooses "Red" from ...
1
vote
2answers
42 views

Filter to display only modified content in Views

I created a view that displays the number of nodes modified by each user on a specific month. I check the "modification date". The problem is that I also obtain nodes that have never been modified but ...
0
votes
0answers
12 views

Trying to sort my Field Collection nodes through Tags

I am so desperate to find some help here. What I did is:- For one of my requirement, I created Field Collection content type which has a field called Tag among other fields. This is shown below:- ...
0
votes
0answers
21 views

drupal Slickgrid and views expose

I install drupal Slickgrid for views and use it . But Slickgrid does not display expose results and does not working with views pager
1
vote
0answers
18 views

Expose Date Filter instead of Start & End Dates

I have a content type event with start and end dates marked. I have create a view with exposed filter, where in users can choose a date and see the event on those days. Right now, view is only ...
0
votes
0answers
26 views

how to create a block total viewed by the author on node detail pages?

I am working on it since last week but still could not able to get any solution. I have created a block which show author details on each node pages, now i want to display total number of nodes ...
0
votes
0answers
9 views

View mode as filter for sibling mode?

is there a way to use the filter the results of one view mode using the results of another? If I have a set of letters of the alphabet and the first view mode returns A, B, D, & K - Can my second ...
1
vote
2answers
31 views

Display a block based on the term reference field of the current node

What I'm trying trying to do sounds fairly simple, but I can't get my head around it. I'm having 2 taxonomy vocabularies: machinery and batteries (both created with NAT for all that matters), and 2 ...
0
votes
0answers
19 views

Profile2 views exposed filter taxonomy term with depth

Using latest drupal 7, views and profile2, i want to create a page with exposed filter for a profile2 taxonomy term field, where user selects a taxonomy term from a select element and gets a list of ...
0
votes
3answers
38 views

how to use a filter criteria in view?

I have one view which shows total number of time a particular node has been visited and few more details. now i want to use a filter which shows most viewed node. Please help me. Thanks
0
votes
1answer
23 views

Replace a specific integer value with a string?

I have a View that displays a list of all the content types, with price as one of the fields you can sort and filter by. However, the client wants to have some items show up without a price, i.e ...
0
votes
1answer
24 views

How to filter views results by value of profile field of currently logged in user?

When I create a user a 'supplier' must be selected. When a user creates a product a 'supplier' must also be selected. Now I would like to show all the products with supplier = supplier logged in user. ...
0
votes
1answer
43 views

Filter by field that only exists for some content types shown in view

We're trying to create a view with a number of exposed filters in D7. There are a number of different content types that we want to show in the same view, and to filter using the same filters. ...
0
votes
1answer
37 views

Filter images by 'current page' nid

I have a view with multiple fields: Nid Title Content Image On my page, I use the nid as a selector ( I have a button elsewhere on the page tied to it) to open my content without going to another ...
1
vote
0answers
61 views

Drupal: How to create a custom exposed filter in views 3 in Drupal 7

I try to create a custom exposed filter in views 3 of Drupal 7 Where can I learn about how to create a custom exposed filter for Views 3 and D7? Someone put some code example in the URL above, but ...
0
votes
1answer
21 views

How to filter single field in a view

I am running Drupal 7 with the latest version of the Views module. I have a content type called "School," which has an entity reference field for "classroom." The "classroom" content type has a radio ...
-1
votes
0answers
9 views

How to highlight the filtered choices above views result list

How to add the filtered fields values from the exposed form above the views list result as highlighted.
0
votes
0answers
35 views

Ajax based dependent exposed filters in view

I have 5 content types viz CType1, CType2, CType3, CType4 and CType5 . In CType1 I have two fields Field A Field B In CType2 I have two fields Field C (node reference - Field A) Field D In CType3 I ...
0
votes
2answers
72 views

How to use $query->add_where_expression in hook_views_query_alter

I'm trying to use hook_views_query_alter() to select some nodes based on a calculation using two fields in that node. I can't find much documentation or many examples that help me understand how this ...
0
votes
2answers
22 views

How can I have a block show only on the /user page, but only for users with specific role?

I have users with the role "authors" and a block in /user showing publications so that visitors can see the publications of every "author". The problem is that the block is showing at every user ...
3
votes
2answers
49 views

Get node ID for all results for current view including its filters, disregarding the pager

I have a view that produces say 70 results with certain exposed filters applied (this is a view that uses Apache Solr indexed content) and I want to get the NID of every result, so I can then send it ...
0
votes
0answers
13 views

Redirecting a Views exposed form

I have a node view 'resources' with exposed filters in a block. I'm trying to add a submit handler configured to set $form_state['redirect'] to apply an argument. My code checks out, but the ...
1
vote
1answer
48 views

view query alter : Subselects/query don't work with out brackets

I was trying to alter a view query with a subselect that looks like: $subquery1 = (db_select('users_roles', 'r') ->where('r.uid = users_node__users_roles.uid and r.rid=10')); ...
0
votes
1answer
24 views

Display nodes by a date field from/to

I have a content type with a Date text field. User can enter from and to dates to control when this node will display. In my views filter, I'm adding both the from and to fields. 'From' is less than ...
0
votes
0answers
16 views

Filter out referenced nodes from views search results

It looks like I have an issue with views search (or search view if you wish) setup. Nodes have have populated references (via node_reference if makes sense). If I enter node title, view renders node ...
0
votes
0answers
25 views

Use name from referenced user entity in URL as contextual filter

In a D7 site, I have a blog node, and to allow multiple authors, I'm using a user entity reference field (field_source) for blog author instead of the default user. I would like to create an RSS feed ...
0
votes
0answers
25 views

Views with one exposed filter not returning all results?

I need a bit of help with a simple view I have: I created a custom content type, imported about 900+ nodes into it, set up a view with Input Required + Exposed Filter based on the title + Ajax. The ...
0
votes
1answer
63 views

webform image on Drupal 7

I want to have a form that will take end user inputs (text, sentence, text of multiple values and an image upload of png or jpeg format). These inputs would be later stored in database and would be ...
0
votes
0answers
21 views

Field Collection alternative ? Need Sub fields searchable through Search API (Drupal 7)

I am hoping to find an alternative to Field Collection module. The problem is that I want to search (I am using Search API + Views) the sub fields in the Field Collection. As an example, If I have a ...
0
votes
2answers
37 views

filtering field collection in a vew

I have several node types (merchandise vendor, food vendor, festival vendor) which all have an embedded field collection called equipment, which can contain multiple values. The field collection has a ...
0
votes
1answer
23 views

Filter nodes by date ( excluding year ) show upcoming/previous based on today

i have content type called Race. This races happens every year so i want to have a page that show latest 5 upcoming races and past 5 races. Is there a way that i can disable year in date api when ...
0
votes
1answer
19 views

Custom exposed filter to select expired nodes

In my Drupal 7 website I have a content type called "offer" that has a date field called "deadline". When the current date is greater than deadline, then the offer is expired. I would like to make a ...
0
votes
1answer
43 views

Drupal 7 and views: Get results from two content types and their own individual terms

Drupal 7 and views My issue might be hard to explain but here goes: What I want: show all nodes from two content types, that is tagged with their own individual terms. What I have done so far: I ...
0
votes
0answers
27 views

Create view with all events till today + 2 more [duplicate]

to create block with events, which will be shown on homepage. Is it possible to create view, which will show all events, till today + 2 more, which are in future and closest to today date? Like it is ...
0
votes
2answers
26 views

How to show Checkboxes with Fulltext Search Filter Exposed

I have created a simple search with three filter options of "Contains any of the word", "all of the words" and "none of the word", as shown in the figure below. I used Search API, and later created a ...