"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
26 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
10 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
8 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
8 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
7 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
14 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
11 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
34 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
29 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
180 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
26 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
15 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
9 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
20 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
9 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
17 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
44 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
20 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
16 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
46 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
21 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
34 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
63 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
37 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
23 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
22 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
30 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
40 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
21 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
11 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
60 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
104 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, ...
0
votes
0answers
33 views

How to list content from organic groups that current user administrates

I'm looking to list events from Organic Groups that the logged in user is an admin for: Very similar to the "OG all user group content" view that comes with Views, I've got a view that shows OG ...
0
votes
1answer
31 views

Calendar as view's pager (passing arguments between views?)

I have a view paged by week. Users are a bit disappointed by the pager: they find clumsy to navigate to weeks that are far in time (more than 1 month from today's date). The idea is to keep the ...
0
votes
0answers
18 views

How to connect/combine two specific content from different views

I have two views. Inclusions and Add-ons. On the form, the user will choose an Inclusion first, and then the user can chose an add-on, these items are displayed using views and the select button ...
0
votes
0answers
15 views

Views select all childrens of parent and contextual filter by child id

I need to create a view which would show all taxonomy terms which have common parent (use entity reference field in my case but suppose is almost the same) as selected term. eg: Parents: parent1 ...
0
votes
1answer
43 views

PHP code in contextual filter (Views) [closed]

I would like to get a value from the reference node of the node_id I used this code for PHP code in Contextual filter... $node = menu_get_object(); if ($node->type == 'trailer_videos'){ ...
0
votes
0answers
18 views

Adding blocks or content panes to a Views page in Drupal 7

I am using Drupal 7.34 and a bootstrap theme to develop a website for an organization. I have a custom content type which displays people's profiles, and a view page which currently displays all the ...
0
votes
1answer
32 views

Free Pager and Contextual filter

I just can't get my head around the following problem. I have two content types. One is ISSUE the other one is ARTICLE. I use the Node Reference module to link and ARTICLE to an ISSUE. Then I am ...
-1
votes
1answer
43 views

Show related nodes of category selected in current node(using static select list)

i have create a content type containing a select list field(ie Fruit, Food, Jewelery etc). Note it down i am not using any node reference nor any taxonomy vocabulary. i have added a static select ...
0
votes
1answer
21 views

View Preview Correct , Actual Page Not

I have a block view that I am placing in every page containing the content type "class". There are several "lesson" content types referencing it through entity reference "field_class". I want the ...
0
votes
1answer
33 views

How do I get a LEFT OUTER JOIN in Views that displays all rows with no match in the LEFT JOIN-ed table?

Views 7.x-3.x Staff sid name 1 Adam 2 Barbara 3 Carol 4 David Staff Roles sid rid 1 1 2 1 2 2 3 2 3 3 Let's say that I want a list of all staff, excluding staff who have a ...
0
votes
1answer
25 views

How can we create a search form to display a specific node

I need to create a result publishing system in drupal. there must be a search page to enter the student register number. when the user enter the register number it should take it to a single ...
1
vote
1answer
31 views

Views: attachment inherits exposed filters when set to No

I created a page with an attachment to it. Its a Glossary for the Username. And here is my attachment setting: i Have exposed filters on the page where it is attached to: And the Filters ...