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

learn more… | top users | synonyms

0
votes
0answers
2 views

Views 2 - How to show exposed filters when results list is empty?

I have a page that displays all events after the current date. It has an exposed filter where you can set the date - all events after that date will be shown. This all works fine. However, if there ...
0
votes
1answer
15 views

Illegal choice error in views exposed filter select list

My question is related to Drupal 7 Views Exposed Filter - How to Select all Taxonomy terms Upon adding new terms? however I have a different problem. I want to filter a view by users of specific roles ...
0
votes
1answer
17 views

How to add Autocomplete to a Views Custom Textfield Filter

I have created my own custom views filter handler which works perfectly with a simple textfield for the value form. However, I am unable to add autocomplete to that textfield (ie: the blue circle ...
0
votes
0answers
12 views

Exposed filter (by terms), only to show terms related to this content type

I'm using the Vocabulary 'Tags' in multiple content types. I have a view showing 'Content Type A', and I want to have an exposed filter showing only the 'Tags' used in 'Content Type A', not every ...
0
votes
1answer
24 views

Views: Display block based on taxonomy term

I have a vocabulary (Alive or Deceased) that has 2 terms (alive and deceased). If the node is under "alive" category there should be displayed block A, otherwise no block should be displayed. How can ...
0
votes
1answer
15 views

Combine integer fields filter

My need is to combine fields which their data type is integer. I did not find a module for that. Or is there? The "Global: Combined fields" filter supports strings only. Which approach would you ...
0
votes
1answer
14 views

Views3 date field (filter) treated as string

I am used to getting int operators(like less then) in views when using date api fields but now I'm getting string operators so I can't filter on dates(like now). When creating a filter on 'post date' ...
0
votes
1answer
37 views

Page caching with multiple versions of the cache

My site is very much faster with page caching on. However, I have a custom module that serves 5 different slightly different versions of my content. In other words, people in New York see East Coast ...
0
votes
0answers
19 views

Display certain nodes based on user's proximity (i.e. “local” homepage vs “non-local” homepage)

(Using Drupal 7) My client's website has a series of blocks with a custom content-type of "Call To Action" (CTA). They would like to customize the homepage and show certain CTA nodes to local ...
1
vote
0answers
9 views

google syntax in exposed filter for text field

Is there a way to use google syntax in views exposed filters for texts fields (e.g. title)? examples: dog -cat (search for titles with "dog" that have not "cat") "black dog" (search for titles ...
0
votes
1answer
14 views

Dynamic view with a field matching a role of User in Drupal 7

On my site, the nodes are restricted based on user's role. Admin selects any number of roles in a field (field_role) when creating a node and if any logged in user's role matches one of the selected ...
0
votes
2answers
18 views

Exposed Filters Search : remove parameters from URL

i need to create something like a landing page search block (using views exposed filters) that links to a new search page. I have problems with my current set up and I am trying to avoid any code ...
0
votes
0answers
11 views

Pass views result to CSV based on date selected in Drupal 7

I want to be able to export the results from the date selected in my view from my Drupal 7 application. I am using entityfield and fieldcollection modules to create a form that gathers user info. Not ...
0
votes
0answers
29 views

Views exposed filter combining several text fields into a dropdown with a field

I am searching hi and low for a solution in Drupal 7 Views 3.x that will allow me to combine several text fields into one dropdown with a text field beside it. From... To something like this... ...
0
votes
0answers
15 views

How to check in ajaxSuccess function if specific dom element has a particular class?

I have a view with two tabs. Basically, it is a view with a map of events on it and attached display to the map which lists the events. The view has an exposed filter which allows searching by ...
0
votes
1answer
17 views

Yearly Archive with month in drupal7

I want to add news in my website . i want left sidebar and header as in image. I dont know which module should i use for this. Months are showing in tabs . I am using Bootstrap3 theme here
0
votes
0answers
22 views

Views Date filtering not working

I have created a view from an entityform that I've set up in D7/views 3.8. There is a request date field in my entityform. The field type is date. i have set the format to be m/d/Y. I added a date ...
0
votes
0answers
8 views

update results per page after hook_views_post_execute

i have a views page which shows 20 records per page, and there is filter form and based on some filter selection I executed a condition which for example unset some result, lets say ...
0
votes
1answer
12 views

How to filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary

Using Drupal 7 Views > Contextual Filter, how can I filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary? I have a ...
0
votes
0answers
8 views

Is there any backport of “Grouped filters” available in Views 6.x-3.x branch?

In Views 3 (Drupal 7), there is a nice feature when you expose a Views filter, you can select "Grouped filters" option and define a set of conditions. Is there any module that backports this ...
0
votes
1answer
33 views

Trying to replicate a view with no success

I'm currently working on my drupal site and I have trouble replicating one view. This is the view I'm talking about. I have replicated the drop down menu, the search bar "with the exception of a ...
0
votes
2answers
29 views

Views filter referenced content when end date is over

This view is the result of a given postcode. how could I hide/filter referenced content when its end date is over? The referenced content should disappear but the non referenced content should still ...
0
votes
0answers
24 views

Views: ignore exposed filters if empty

Short: I was wondering if it is possible to ignore empty filters in Views exposed filters? Long: I have several filters groups with various operators: Group 1 (field OR field OR field OR field) ...
0
votes
0answers
16 views

Drupal 7 Views : Allow users to select “Match All” or “Match Any” Filter

I have a Drupal 7 View with BEF and 7 exposed filters. I want to show a Radio Button below the filter with 2 options "Match All" and "Match Any". By default the "Match Any" option will be selected ...
0
votes
0answers
32 views

Simple Hierarchical Select exposed filters in Views

I successfully installed and ran the SHS module and used it within views, but I cannot find a way to make it do what I want it to. Basically, I have a set of categories and subcategories. Whenever a ...
1
vote
1answer
24 views

How to add a path filter to views 3 in Drupal 7?

This doesn't have to do with contextual filters but is it possible to add a filter criterion to views so that it filters the aliased path to a node? Content:Path is available as a display field but ...
0
votes
2answers
21 views

Have an exposed filter on a view be a list of US states

I would think this would be a pretty common thing, but I have a job board that I am exposing for users to search on. They can search by city and/or state so I exposed some filters on my view for city ...
0
votes
1answer
12 views

How to add another filter to TVI default page view?

I have the TVI module installed but I wanted to add one more contextual filter currently: mysite.com/taxonomy/term/[term of tags vocabulary] what I want: mysite.com/taxonomy/term/[term of tags ...
0
votes
1answer
10 views

i need to add rules when i access the particular views page

I have the views page. eg: www.example.com/entrepreneur when my user access the particular url means the rules will be executed. but in rules admin page React on event * am not able to find (page ...
1
vote
1answer
82 views

jquery script on view not working when filtering with (ajax on) 'better_exposed_filters' module

i have a script for dealing with node images hover (function ($) { $(function(){ $('.node-photos-teaser').mouseenter(function() { $(this).addClass('photos-hover'); ...
1
vote
3answers
40 views

Change default text (-Any-) of select option in Exposed View Filter

I am using views exposed filter. I want to change the text -Any- into something else. How can I do that (without using jquery/javascript) ?
0
votes
1answer
21 views

How can I get the fivestar module to submit the page url to the database?

I know the module stores the entity_id of the "page"/node and I can translate the enity_id's (node id's) to url paths like so, so I can display them in a view: function ...
0
votes
2answers
34 views

views exposed filters capable for this?

I try to create something like questionnaire using views exposed filters. I have a content type xxx with fields: field_1 (with options a,b,c) field_2 (with options a,b,c) field_3 (with options ...
0
votes
0answers
11 views

Own exposed filter can't use LIKE and REGEXP in one query

I'm working on a own views3 filter which should include wildcard search with '*'. This is working pretty well if you search for one word (for example "test*" or "*test"). But I had the idea to include ...
0
votes
0answers
21 views

How to hook into views field criteria dropdown filter

I have created a custom view which allows me to filter my nodes by my taxonomy 'city'. The nodes are linked to the taxonomy by a term reference. I need to be able to programatically remove values from ...
0
votes
0answers
12 views

Chosen does not work in View for term-referenced field filters

I have 3 term-referenced fields. When I add exposed filters for these fields in a View, chosen doesn't work. In chosen settings I've set "minimum number of options for single select" and "minimum ...
1
vote
1answer
61 views

Views Filters: find nodes that have more than one term in taxonomy vocabulary

How can I set a filter to find nodes that have more than one term in a particular taxonomy vocabulary? Note: The vocabulary allow unlimited values and is required field. So, nodes can have 1-∞ terms. ...
0
votes
1answer
6 views

Views ajax not enabling

i'm trying to use an exposed filter with my views but i'm not getting my ajax to enable under the advanced link so my content can be dynamic. I try jquery update module to fix it but didn't work tried ...
0
votes
0answers
18 views

Resume State - Recruiter Distribution

I have been using the recruiter distribution for a while and for some reason I remove the ability of the resume state. I have analyze the problem and the issue is that every time someone register to ...
0
votes
1answer
23 views

How to Embed Views Exposed Filter for only one field

i have a view and many fields are exposed in it. I need to embed (render) a specific exposed filter in my template. i have came across this article. But it shows all exposed filters of a view. any ...
0
votes
1answer
19 views

How to do it with views?

I have two content types BLOG and PROPERTIES In BLOG, I have an entity reference field called "Related properties" that will point to the PROPERTIES content type. Every BLOG node is gonna have a ...
0
votes
1answer
29 views

Changing Global: Text Area based on an exposed filter in views?

A client wants to display different text in a page depending on the value of the View's Exposed Filter. I could throw this logic into the template.php or use javascript (showing and hiding a span ...
0
votes
0answers
10 views

How to get/view the head revision for all nodes within a time period?

I have a drupal site which has various different content types, all of which can have revisions. I want to be able to display somewhere, whether in a view or some kind of output, a snapshot of the ...
1
vote
2answers
223 views

views_query_alter change to operator OR for contextual filters and normal filters

My question is rather simple and I have searched quite a bit for the answer with no result. My view produces below SQL (simplified): SELECT stuff FROM tableA LEFT JOIN tableB LEFT JOIN tableC ON ...
0
votes
1answer
49 views

How to filter a view when day, month and year are separate fields

I am trying to filter a view to show content that happened today on this day in previous years. We have day, month and year fields but they are not dates. How can I filter on day = today's day and ...
0
votes
1answer
15 views

View Filter based on condition

I have a View that is using the Table format to show all users who have uploaded content under a particular node. This view will be visible to anyone in the Authenticated User role. Users in ...
0
votes
1answer
34 views

Fatal Error Call to undefined function SearchApiViewsQuery():placeholder

I am using search api and views module When I add fields Indexed user first name and indexed user last name and then use field views combine fields filter and add those two fields I get the undefined ...
0
votes
0answers
39 views

How to support fast year browsing in jquery UI Datepicker?

I am using jQuery UI Datepicker in an exposed filter of a view and I get the following Datepicker: How is it possible to configure the Datepicker, so that I can quickly navigate through the years, ...
0
votes
1answer
51 views

Set the Contextual Filter: Author uid. to a default user?

I have a view called Map Items showing a list of map markers in a chart. Info: I have 3 Accounts in my drupal installation called person1, person2, and admin. I've set the contextual filter to ...
0
votes
2answers
26 views

How to filter a view to show current month

I am building a Church Management System. I have a contact type for individuals. One field they have is D.O.B. which is a date popup field. I want to create a block that lists people and their D.O.B. ...