"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
16 views

Contextual filters with multiple taxonomy vocabularies

I have vocabulary "City": New York London and vocabulary "Places" i.e.: restaurants cafes The menu link is, e.g. mysite.com/london. When a user click on a tag, e.g. cafes, I want the term ...
1
vote
0answers
10 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
9 views

Display an entity whose creation date matches another entity's with EVA?

I am using Heartbeat module to log activities using Rules, however Heartbeat entities/activities have no way (as far as I know) of checking whether they have been viewed or not. To solve this issue ...
0
votes
2answers
16 views

Views 3: filter nodes such that an entity reference on the node corresponds to the current user

I'm creating an approval/review workflow with notifications. The content type we're reviewing is called a "Scholarship", and the first review is being carried out by an Intern (interns are a role in ...
0
votes
1answer
22 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
10 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
8 views

Create a media page with view using and taxonomy

I've installed the media module and set everything up for it to work. And it's working. Now i want to divide my media items into two groups: Videos and Fotos. I'ved set a taxonomy term video and fotos ...
0
votes
1answer
9 views

Context shows empty views block

I've got a views block that shows data from node field. I've set up a contextual filter NID: WHEN THE FILTER VALUE IS NOT AVAILABLE Provide default value: content ID from url. I've also set up a ...
0
votes
1answer
5 views

Views: no results text not showing when contextual filter is set & no results returned

I have the following setup: Block view Contextual filter: Author UID -> Provide default value -> User ID from logged in user. Fields: various Filters: various No results behaviour: text I want ...
3
votes
3answers
84 views

how to create views with month and day in contextual filter

Let suppose I have actor content type, it has a birthday field (it is date ), I want get all actor that has equal month and day of birth,I want to create a views with birthsearch/%/% path, and then ...
1
vote
2answers
31 views

How to display a view on user's profile page?

I would like to select fields associated with users and display the outputs on users' profile page. In other words, when someone navigates on a user's profile page, the outputs of the selected fields ...
1
vote
1answer
101 views

How do I set the exact post date timestamp as Views contextual filter?

I need to display nodes that were created within a certain period of time. Setting Date: Date (node) (content: post date) as contextual Views filter works super smooth. Now when I call ...
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
32 views

How can i display total number of node created by individual user? [duplicate]

I have created one block by using view, which display author details on each node page, author details block on each node Here is the link by which the block has been created,now i want to display ...
1
vote
2answers
30 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
21 views

Drupal 7 views contextual filters taxonomy name 2 fields using same vocabulary

I have a content where two fields using the same vocabulary. I want to show nodes related content filtered by the these fields. I try with relation Relationships content:field_1 (term from ...
1
vote
0answers
10 views

Defining the relationship between multiple term names in contextual filter

Content managers are supplying a comma separated list of taxonomy terms (apple,orange,banana) for a contextual filter (using Insert View). We've got the patch from ...
3
votes
1answer
45 views

Display all nodes posted on a certain month and day between 1990 and 2014

I want to display all nodes created on lets say, March 30 (between 1990 to 2014). Views contextual filters seems to display nodes posted on March 30 this year, how do i make the contextual filters ...
0
votes
0answers
32 views

Filtering by hierarchical taxonomy in a Panel/View, where children may be tagged under multiple branches

The question: When using 'has taxonomy term (with depth)', is there a way to limit child terms being used for grouping to only those that are descendants of the term/tid being passed as the ...
0
votes
0answers
25 views

Facebook Pull Module with Views

Does the Facebook Pull Module not work with views? I am trying to use the contextual filter, but I do not see anything for Facebook Pull. ALL I am trying to do is pull post from my Facebook page to ...
0
votes
0answers
10 views

Programmatically set contextual filters using hook_views_pre_view() in a block [duplicate]

/* * hook_views_pre_view() */ function MYMODULE_views_pre_view(&$view, &$display_id, &$args){ if ($view->name == 'hot_deals' && $display_id == 'related') { $node = ...
0
votes
0answers
20 views

Views contextual filters by a multiple field values

I have a content type called: ab. It has 3 fields: field_ab_type (select list) with values "sell", "rent" When you choose sell it shows "field_obj_sell" select list with values: "apartment", "house" ...
0
votes
0answers
47 views

View of users based on multiple term references

I am trying to show a list of users based on their taxonomy terms, e.g 'show all users tagged with term 'ms office' for vocabulary 'software' or term 'europe' for 'region' or 'marketing' for ...
0
votes
0answers
26 views

Create contextual filter programmatically

function mymodule_views_pre_view(&$view, &$display_id, &$args) { if ($view->name == 'hot_deals' && $display_id == 'related') { $args = array(); $args[] = 'sell'; ...
0
votes
0answers
23 views

Hiding a View if empty when contextual filter is already used

On my content type "page", I give my client the option to upload a sidebar image while editing the page fields. In the manage display of the content type, the image is hidden. I have a view in the ...
0
votes
0answers
12 views

Show Views Block with Certain Filtered Results when Field Matching Term is Found

I have a hierarchical taxonomy going. It looks like so: Branch +Committee ++SubCommittee Branch is parent, committee is child and subcommittee is child of committee. I have a view ...
0
votes
0answers
22 views

Use contextual filter value in a view's header “rendered entity”

I want to render a Taxonomy term in a Header for a Page view which uses the Taxonomy term as a Contextual filter. I found that I can add an Entity: Rendered entity to the Header of a View, which I can ...
0
votes
0answers
23 views

View contextual filter only applies to first filter AND/OR group

I have a view that returns two different content types in its results. Each content type needs different filters, so I group them using OR and AND. See below: This view represents a category page ...
0
votes
0answers
18 views

tiered contextual filter?

I'm not sure if that is really the proper way of wording what i'm looking to do, but perhaps it will at least peak some curiosity. I"m a bit uncertain how to explain it, so I'll do my best. Just ...
0
votes
2answers
16 views

Configuring the Popup Calendar Widget

Currently I have a date contextual filter. When I click the date field the popup calendar displays. when I click on a date (for example today's date) it displays as 3/18/2014, but I would like it to ...
1
vote
1answer
75 views

How to find out a node's comment status (open, closed) from node ID?

Having a view of comment fields here that is embedded into another view via Views Field View module. The comment view has a contextual filter: the nid. Works quite nice. Now I want to hide the view ...
0
votes
1answer
26 views

Taxonomy Menu and Views don't work

I have vocab Categories, I created it as a menu with Taxonomy Menus. It lists terms in the sidebar, but when clicked on term, it opens empty page saying 'There is currently no content classified with ...
0
votes
0answers
6 views

views_embed_view with KS view Collect product not displaying

I trying to embed the "Collect products' view from KS 2 into a basic page. Here is the code: -------------- via php $arg = array('to wear'); $view_name = 'collection_products'; $display_id = 'page'; ...
-1
votes
0answers
23 views

How to remove automatic sorting in views?

i am using query in view i am using query to over required nid like 200,201,220,224 but problem is that our query return correct result but due automatic sorting of views they return 200,201,202,203 ...
0
votes
0answers
24 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 ...
1
vote
1answer
18 views

Views contextual filter - Contains search with taxonomy field

I am searching with taxonomy terms, is there a way to do the search with anything that contains what i am searching for will be returned? For example if i search Amer nothing will return, but i ...
0
votes
0answers
12 views

View Block contextual filter from filtered view page

1 down vote favorite. I have a page view (1) that filters a content type by different field results. One of them is a referenced entity and I'd like to display it's whole content whenever a filter by ...
0
votes
0answers
16 views

Drupal EVA View with Taxonomy

I have an EVA field showing hotels that are related to a certain tour and need to have the functionality where the tour shows the relevant hotels from the relevant taxonomy terms. I can only do it so ...
1
vote
1answer
36 views

How to make correct View for tasks for each user?

I have taxonomy vocabulary with departments. Different users have task's nodes. I need View like this: Department1 Task5_ForUser10 Department2 Department3 Department4 Task7_ForUser10 Department5 ...
0
votes
1answer
31 views

Contextual filter in views

I have a form on my site. Each time a user submits the form they are directed to a confirmation page like this; eform/help-request/confirm?entityform_id=1 I want to create a view that has a ...
0
votes
0answers
18 views

Use all results from a View's Context Display as Contextual Arguments for another View displayed as a Content Pane in a Panel

I have two fairly simple Views, the first (a "Master" display and a "Context" display): Name: Content Display all Content Types Show Node Title and Node ID Sort by Note Title ASC Contextual Filter: ...
0
votes
0answers
7 views

Drupal Parent and child list show

I have created a taxonomy with Parent and child relationship. I want to create a view where i can show same format.. I didnt get any idea.
0
votes
0answers
21 views

node with embedded view, contextual filter with patalias

I got a node of content type 'listpage'. On this content type i added a field wich embeds a view on the page. Now the view gives a list of items, and the list gets filter by the taxanomy term in the ...
0
votes
1answer
71 views

Facet API and views contextual filters (facets block on non-search page)

I'm using Facets API with SOLR and it all works fine. I also have a standard view set up using a facets block from the search-index view. This also works OK, but it shows the complete unfiltered ...
1
vote
2answers
42 views

How to add a view inside a view?

I have 2 groups of blocks in a view, I would like to join both of them in one view, showing the first block (I have the groups all linked one to the other). I did download Views Field View but I can ...
0
votes
0answers
22 views

Create multiple pages/sub site from one node type

I am fairly new to drupal and finishing up my first large site. I am using the panopoly profile. For this site I need to create this massive content type. It would be used to generate about 5 pages ...
0
votes
2answers
18 views

Different format show for pages that have been created with contextual filter

Using view contextual filter and taxonomy term that we can design our site. But how can I customize each page differently. For example my site has three sections such as Product, Learning, Home. I ...
0
votes
0answers
21 views

match users based on values in fileds on their user page

I have set up user profiles with an extensive list of fields most based on dropdown/select lists. I am not using the profile module - just fields added to account. It's kind of like a dating site and ...
0
votes
0answers
16 views

How to make a block listing only nodes posted before the node being viewed in Views?

We have a site with "X" number of nodes. Each node has the "Content: Post date" Using Views, how can I make a block with a list all the nodes created before "Content Post date" of the node being ...