"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

0
votes
1answer
10 views

Using Views to filter images based on taxonomy of page node

I have many image files with taxonomy associated with them. I have page nodes using the same taxonomy vocabulary. I want to create a Views block that filters the images displayed based on what that ...
2
votes
1answer
22 views

A view that displays content with taxonomy term of current user?

The Setup: A Taxonomy Vocabulary called "School" - During registration, users can choose multiple "Schools" from the taxonomy list to associate themselves with. A content type called "Lesson" - ...
0
votes
0answers
10 views

View based on a shared Entity Reference?

Summary: I am trying to create a view that displays all "Lesson Plans" from a school that the current user is associated with. The setup: Content type called "School". Content type called ...
0
votes
0answers
22 views

Related Nodes with exposed Filter that share all / multiple terms

Here is my problem: I have several nodes tagged with multiple terms. I want to display related nodes based on these terms in a block. I followed the main instructions that one can find as this: ...
3
votes
1answer
30 views

Showing All Taxonomy Terms count based on a given contextual filter

I need to create a view that shows All Taxonomy Terms count from a vocabulary based on a contextual filter given. The contextual filter I'm to be passed are Regions and Regions are taxonomy terms as ...
0
votes
0answers
12 views

How to have a Taxonomy term description page to show block of nodes tagged with related term

This is similar to other questions asked but not quite the same. Most Q&A's are based on a node with a term on it, but I am using a Taxonomy term description page, not a node. Here is the ...
0
votes
0answers
10 views

Adding an existing view to content nodes sorted by taxonomy terms

I'm setting up a webshop with a pre-made theme I bought. My issues is the following: I'm trying to set up the product grid so it can be filtered by product types, which I store in a vocabulary. I ...
1
vote
3answers
26 views

How to limit the results of a view with flagged content to the flagging user only?

I have created a view which displays a list of flagged content. I have used the Flag module to achieve this. I have named this page as Bookmarks, and the URL to this page is ...
1
vote
0answers
14 views

3 Way Content Filtering With Taxonomy and Content Type

I have one taxonomy named "Project Parameters" with hierarchical select and another taxonomy names "Project Sub Parameters" with hierarchical select. I Want to filter the content with those ...
0
votes
0answers
12 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
1answer
6 views

Location Contextual Filter: Distance/Proximity

I am trying to create a location-based contextual filter, and it seems like it should be taking four arguments - Lat, Lon, distance (number) and distance (unit). How should this filter actually be ...
0
votes
1answer
27 views

How to create a view grid that changes content type per row

Goal: Create a Grid that shows mixed content types and have control how those types are added to grid (ie. by row) I have 3 content types and would like control over how they are added to a view. ...
2
votes
1answer
33 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 ...
2
votes
2answers
24 views

Edit tabs missing on Views block

I'm new to Drupal and despite making progress over the last few days I've hit a problem. I've got two custom content types linked with an entity reference. I'm using the Views module to create a ...
1
vote
1answer
46 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 ...
2
votes
2answers
23 views

Overriding nodes of a certain type with a view

I'm using a single view to display some nodes on my site, and I can't figure out how to get it to only override the three content types I want (retreat, location, and teacher) but not all of them. In ...
1
vote
1answer
31 views

Array of items as contextual filter in Views

I need to create a View which displays content of users that their username should be passed as contextual filter. The number of parameters (usernames) are not specified but the View must include ...
0
votes
1answer
24 views

How to relate two similar text fields between Users and Content with User as argument?

Getting a bit mixed up and need help with this. My restrictions are that I cannot use Entity Reference field (or any reference type field) - this is because Salesforce Suite isn't able to translate ...
0
votes
1answer
36 views

views header (contextual) filter

I have a node type news with a taxonomy reference (news categories). And I have a view for the news. In this view I have a contextual filter by this categories. The category comes with the url. In ...
0
votes
0answers
17 views

passing filter to eva view

I watched the eva tutorial listed on the eva project page for drupal 7 and implemented that with our site. We have courses, objectives and evaluation content types. I am successfully able to attach ...
2
votes
1answer
29 views

Should I use contextual filters to limit the view results for each type of administrators?

I'm trying to display the View according to the current director, example: I have a content type called faculty news,and I have two faculties: Medicine and Sciences, the content type faculty news is ...
0
votes
0answers
29 views

Serve 404 page on view with contextual filter?

We use facet filters to create collections of content. The facet filters create url arguments that look like this www.example.com/l/language or www.example.com/l/language/g/gender For SEO reasons we ...
0
votes
0answers
14 views

How to pass term id from the exposed filter block selection to a view pane

I have a requirement to show courses by semester dynamically when semester is changed via an exposed filter. Firstly, I have created a taxtonomy term jumplist view block for semesters. This view ...
1
vote
1answer
32 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
26 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
33 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
27 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
26 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
19 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 ...
5
votes
1answer
96 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
33 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
33 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 ...
4
votes
4answers
196 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
31 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
13 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
18 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
24 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
1answer
28 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
15 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 ...
2
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
31 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
32 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
210 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
56 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
19 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 ...