"Contextual Filters" refers to the contextual information taken from a page display available to Drupal core and modules. "Contextual Filters" is a synonym and the new name for "Arguments" in Drupal 7.

learn more… | top users | synonyms

1
vote
1answer
26 views

Drupal 7 Views url translated alias with contextual filter

I want to translate the url of my view. So I've made a translated alias for it. But when I add a contextual filter I get a 404 error. For example: I've a view with the url example.com/overview with ...
0
votes
2answers
17 views

Views question with user reference

I have a content type courses with course name, instructor, coordinator and ta fields. Instructor and coordinator are of type user_reference. My data looks like below course instructor ...
0
votes
0answers
11 views

Contextual filter do not work propely with block

I am trying to make block using Views contextual filter. Argument for filter is taked as Raw value from URL, path component N2. All work good, except case when URL consist from vocabulary name as path ...
0
votes
2answers
20 views

Create view block on user account page which lists nodes with same taxonomy term as that of one on the users account [duplicate]

So I have an event content type which has a type of game, wow, starcraft, counter strike, etc. When this event is created they tick which type of game it is for. When a user registers they tick which ...
0
votes
2answers
25 views

What's wrong with my taxonomy links or my taxonomy view and contextual filter?

I have a D7 view displaying all items tagged "food" at mysite.com/industry/term/food But my taxonomy terms for "industries" link to e.g. mysite.com/industry/food (i.e. without /term/) I thought I ...
0
votes
1answer
19 views

Empty View does not display “No results behavior” for admin

I have a View content pane with a setup to display "Header" when there is content and "No results behavior" when the view is empty. The view works fine for authenticated and anonymous users, however ...
0
votes
0answers
14 views

Output term field as custom link to another view with context filter - using term alias

I have a site with two content types: Blog posts Forum topics There is one vocabulary: Tags Both blog posts and forum topics are tagged with this vocabulary. I have a view (view #1) listing ...
0
votes
0answers
7 views

Showing upcoming events with same taxonomy as that of article

I want to display a block on the article page which would contains upcoming events. I want only those events to appear which has the same taxonomy term as that of article, For example: An apple meet ...
4
votes
1answer
73 views

Group items in Views by value in Field Collection

I have a content type (content type X) containing a Field Collection field. This Field Collection field consists of a Node Reference (content type Y) field and a text field. I would like to create a ...
0
votes
0answers
26 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 ...
2
votes
1answer
30 views

Is it possible to understand and use Relationships and Contextual Filters without knowing SQL?

Are there any good, layman descriptions of contextual filters and relationships for those site builders that aren't developers? Is it possible to be comfortable with Relationships and Contextual ...
5
votes
4answers
152 views

When do I need a contextual filter vs. a relationship?

Can someone explain the functional difference between contextual filters and relationships? I understand that a relationship is a table join, and a contextual filter is passing parameters to the ...
0
votes
1answer
28 views

How to display the View according to the logged user?

I'm Creating a view of a specific content type called "requests (Demande)" , Each request is assigned to a specific user (I have two users : "Salaktarus" and "Zaferro") , what I want to know is how to ...
0
votes
0answers
12 views

Hide views title overriden by contextual filter settings

We have a page built using panels. Its URL is of the form 'news/!year/!month', to have URLs like 'news/2015/06'. Main content pane is a view showing list of news articles filtered by the creation ...
0
votes
0answers
9 views

How the path module handle path [duplicate]

I have two path one is "book/content/9(book_id)" render a View page and another is "book/content/book_alias" (autopath) Now view get a argument 9 and display a View Page but when ...
0
votes
0answers
17 views

Entity reference field using View with contextual filter on Taxonomy term not filtering

I'm trying to limit the options a user can select in a field for one of my content types but I'm running into a bit of an issue. I'm using an Entity Reference Field with a View to return only the ...
2
votes
0answers
23 views

How can i override all node book/book_alias usng alias

How can i override all node "book/book_alias" using View when i tried "contextual filter" not provided for alias i must use a node id rather then book_alias. Any Solution to override a multiple node ...
0
votes
0answers
9 views

First item of contextual filter summary active

I created a view that displays a table of data (format: table). I added a an attachment with a contextual filter. The filter is a summary list based on a field in the table. The filter works, but I ...
0
votes
0answers
19 views

View which filters based on URL matching field value

I'm trying to create a view for solr search results, what I'd like to do is have have a page in the view each of which pull data from the same set of results but filter them based on matching part of ...
0
votes
0answers
13 views

Help with View - relationship with taxonomy

I'm trying to create a relationship between a field on a user profile and a field on a content type. The fields are taxonomy terms User Profile Genre - This is an taxonomy that pulls names from a ...
3
votes
1answer
35 views

view to work for particular set of taxonomy terms

Case: I have a taxonomy vocabulary namely 'categories'. It consists of some parent terms with their child terms as shown. Parent1 -p1child-1 -p1child-2 Parent2 -p2child-1 -p2child-2 I ...
0
votes
0answers
22 views

Add block fields as contextual filter in view

Is it possible to add field from block into contextual filter? There is a custom block listed on front page containing three drop down select list fields depending to one another. First field ...
0
votes
1answer
30 views

How do i pass 2 values to a view?

I have a Drupal View that displays the 2 most recent articles from our db. How do i allow a user to select which article they would like to display. And, if the user does not choose the 2 articles ...
4
votes
5answers
191 views

Show specific view displays for taxonomy term combinations

I have searched and not been able to find anything related to this specific situation. I would like to show specific views for certain combinations of taxonomy terms in Drupal 7. I have three ...
0
votes
1answer
34 views

How to get Views Total number of records in Page.tpl.php file. (Before Views rendered)

See this image for more understanding. I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also ...
0
votes
0answers
13 views

Contextual filter on one specific field within view

I'm having a view with 2 fields, both displaying pictures. I'm having 2 contextual filters as well. These contextual filters work well separately, but as it is, I'll have to use them both to get all ...
0
votes
0answers
18 views

view attached to a field collection filtered by taxonomy term in fc

I have a field collection with a reference to a taxonomy vocabular. And I have a view, attached as EVA field (or even a block) to this field collection. The view displays nodes which have a reference ...
0
votes
0answers
10 views

Entity Reference, filtered by node in data edit

I tried to search this both here and googling 10+ pages of results with no luck.. Here's my problem: When editing a node, I want the user to be able to select a reference to another content type, ...
0
votes
1answer
24 views

Views contextual filter - related nodes as an offset from a node's creation date

I have a related content view which displays similar nodes based on shared taxonomy terms. I want it to display related nodes that were published in a date range relative to the current node's ...
0
votes
0answers
9 views

EVA displaying nodes referencing to the same node type

I have 3 types of content: Category, Subcategory, Article. Article points to Category (field_category). Subcategory points to Category (field_category). Relationships are made with Entity ...
0
votes
0answers
14 views

entityform view filtered by current user field (term reference)

I have an entityform type that uses a term reference (department). This term reference was also added to user accounts. I'd like to make a view that displays the form submission for the same ...
1
vote
1answer
29 views

Pass node id to custom access denied panel page and/or view pane

Rather than display an "access denied" page, I want to over-ride the standard 403 with a panel page that contains several views which take the original node id as a contextual filter. I can create a ...
0
votes
1answer
57 views

Views Contextual Filters and URL Aliases

Forgive me if this is a repost, but I have spent days trying to figure this out and everything I have found on drupal.stackexchange and elsewhere have been no help and I am struggling to understand ...
0
votes
2answers
25 views

Passing arguments to a URL with view blocks and contextual filters

I have a page that displays nodes of awards. These awards have taxonomy Year added to them. The url to them is : url.com/aboutus/awards. I have a block view created that pulls the awards and I've set ...
0
votes
1answer
29 views

Views Block Doesn't Show on Views Page

I have a Views Page that displays content from articles matching a particular criteria. That views page works as expected. I also have a views block that is supposed to pull related content from ...
0
votes
0answers
18 views

How to use Views contextual filters with a hierarchical taxonomy path in the URL

Here is the question i am stuck on: If i have a multi-level taxonomy, and the URL for each Term contains information about its parents in each URL component, how can i set up a View to show the ...
0
votes
1answer
48 views

Views, Contextual Filters, and Path Alias

First, a disclaimer: I am less than a year into learning Drupal just to give you a frame of reference. I am probably using incorrect terminology in my searches so if there is an answer out there, a ...
0
votes
0answers
18 views

Exposed filters go to request arguments [duplicate]

I have views with three exposed filters, default settings exposed filters submit request in url : filter_country_tid=4&filter_city_tid=17&filter_street_tid=39 I made contextual filters in ...
0
votes
0answers
22 views

EVA field: file entities filtered by taxonomy term of attaching node

I have a node type 'XY' with a reference to a taxonomy vocabular 'country'. Also I have a reference to this vocabular in file entities. I have a view with an EVA display. This EVA field is attached ...
0
votes
1answer
40 views

Empty value , Contextual Filters

This is my problem: I have 3 contextual filters, 2 Content : Has taxonomy term ID and 1 Content :Updated month if I write in the url : test.com/International/North/06 It will show all the articles ...
0
votes
1answer
68 views

Views block with the terms referenced by a node

I've got a working email notification system built with flags and rules. The missing part in my puzzle is how to create a Views block showing the Flag links of the terms I've tagged a node with. ...
1
vote
0answers
46 views

How can I display all levels in Simple hierarchical select

I created select hierarchy ( taxonomy with 3 level), but in default it shows only one level , how can I display all 3 level in default page? : -Any- + -Any- + -Any- I do not want it to automatically ...
2
votes
1answer
26 views

Hide an entire View Block when query returns no data

I have a view block and - because of the filters being applied - it may show data or may not. If the view's query returns no results, I need to hide the entire block - the .block - not just the .view ...
0
votes
1answer
23 views

php in views contextual filter for different user roles

I am attempting to filter a view based on a php contextual filter, however the filter needs to come from different sources depending on the users role: administrators - from a query string all other ...
0
votes
0answers
40 views

OG context not passed in Entity Reference View Widget

I am using Entity Reference View Widget module (ERVW) and set its view to have two args, 1st arg being the "Content: nid" set to "display all" on no filter value while the 2nd arg is "OG Membership: ...
1
vote
1answer
42 views

How to show users with the same term?

I added a term reference field (field_department_term_ref) to user entity (/admin/config/people/accounts/fields), then I need use Views to list all the users with the same term as current logged in ...
0
votes
1answer
29 views

OR condition in Views Contextual Filters

I have a Content Type named "Match" which has a local and visitor. Both are node references to a Content Type named "Team". In Views I need to ask for matches of a specific team, no matter if that ...
0
votes
0answers
13 views

using contextual filters to read the value of a custom content pane

I have a view that I'd like to filter results based on taxonomy term. Each Taxonomy Term Is Currently Section On A 1 Page I Have With A List Of Custom Content panes. My goal is to display the page ...
0
votes
2answers
67 views

Views, Pathauto and contextual filters

My question is rather simple, but I didn't manage to find anything that can help. Summary of my setup : Drupal 7 Pathauto Views Entity Reference So I have various custom content types, which I ...
2
votes
3answers
107 views

Sort a related products view based on product features

Hi I followed the intructions here for createa a view of related products for my commerce kickstart website, those related products are selected based on taxonomy vocabularies like texture, color, ...