"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
0answers
4 views

Entity Reference | View - Display content based on a entity reference field's value that is randomized?

We are using Entity Reference. We have a content type "Dog" and a content type "Breed" In the Dog content type, there is an entity reference field to Breed We want to have a View that displays ...
0
votes
3answers
20 views

Contextual Filters for a Block on a Page

I am trying to figure out how to create a page with dynamic content within a block. For example, a simple "About Us" page may have sub pages of "Contact," "Blog," "History," "Locations" I would like ...
0
votes
0answers
9 views

Using views to overwrite Taxonomy pages for content *and* user terms?

First: I'm developing a site on a site-wide Drupal 7 installation. It's not quite vanilla Drupal, but I can't add modules to it. What I'm trying to do: Use views to create a team directory. The ...
0
votes
0answers
6 views

Contextual Filter Problem in Drupal Commerce Using Indexed Textfield

I am trying to filter products by brands, which have been inputed into a text field in Drupal Commerce and indexed. If I try for instance "Breitling" in the contextual filter it works perfectly and ...
0
votes
0answers
9 views

views filter autocomplete not working without taxonomy value

I have created a view with contextual filter taxonomy :-> display all when value not available. and an exposed filter content title with auto complete widget. my view and exposed filter is working ...
0
votes
1answer
16 views

Contextual Filters in a 'Tree-style' View

I am using the Views Tree Module which allows me to create a View that illustrates parent-child relationships. My 'associations' go like this: I have 3 content types which entity-reference each to a ...
0
votes
0answers
10 views

Commerce & Views: Display Products by Term Reference

I have products that have a term reference field called "Ingredients", when the user enters a product, they should add all the related ingredients in this field. I also have links on the left side ...
0
votes
0answers
18 views

To use some hook instead of “PHP contextual filter code” in view

Can anyone please give a solution on having a substitution of "PHP contextual filter code" for views, inside a module code?
0
votes
0answers
12 views

Taxonomy view with attachment, only display 2nd level when parent is selected

I got a taxonomy view like this, D7: Country 1 City 1 City 2 City 3 Country 2 City 4 City 5 i managed to implement it using a block for first level "Taxonomy term: Parent term (= 0)" and a ...
0
votes
2answers
27 views

Redirect to main view URL when no contextual filters are set

I have a view in drupal 7 with no contextual filters at all set. Let's say it is a simple list of nodes of the type "item" and that the url is http://example.com/listofitems I also have pathauto ...
0
votes
1answer
26 views

Drupal 7 - contextual filters to show content within a date range.

I have two types of content: A. Interval - has a start and end field and has multiple terms from a taxonomy list associated with it. B. Event - also has a start and end date and can have multiple ...
0
votes
2answers
23 views

Drupal views contextual filter: use last argument as filter value

I would like a views contextual filter to only use the last argument in the url. Given the following taxonomy structure, I would want /term-a to return Term A1 and Term A2 only (which works fine). ...
0
votes
2answers
36 views

Views: apply filter only if a condition matches

I've searched a lot the Views issue queue, searched for other modules, searched on stackexchange, but it seems that no one needs this functionality (or that there's another way to achieve it). Use ...
0
votes
2answers
17 views

How to make a block showing the content entity the author of the node is linked to?

I cant seem to wrap my head around this so i hope there is somebody that can help. I have a 'business' content type and a 'information' content type on my page. The author of the business is the ...
1
vote
1answer
15 views

Views: How to change entity view mode settings when a contextual filter is available?

I have a view it displays a few nodes in teaser mode. The view takes contextual filter and when filter is available I would like the content (node) to be displayed in full view mode. Is this possible? ...
1
vote
1answer
25 views

Drupal 7 Contextual Filter / Relationship

I'm having difficulty with setting up a view in Drupal 7. I'm going to use a sports example as a way to illustrate my problem: I have three content types: 1. Team 2. Roster 3. Player On the ROSTER ...
0
votes
1answer
39 views

Create Content Types that create other node for fields

I would like to create a content type, say for example Podcast, that would have other pages for some of the fields. A field_audio that is a file would automatically generate a /node_url/audio page, ...
0
votes
2answers
21 views

Single view on multiple pages

1) I created a content type Portfolio-Item. In this type a text field Project-Url was defined. 2) I created a view containing a gallery using jQFX module displaying content of Portofolio-Item ...
0
votes
2answers
25 views

Can relationships be used to show Content and linked content in the same view

I'm trying to display content in a view and, beneath each entry, show a teaser of other content to which it is linked via Node Reference. Here is roughly what I'm trying to show in my View: ...
0
votes
0answers
13 views

views contextual filter based on post form data

I'm hoping someone can steer me in the right direction here. I have view based on a content type. The content type contains a 'keyword' field and pieces of content all have keywords, say for example ...
1
vote
1answer
35 views

2015: What am I missing to get a simple hit counter block by page?

I've tried every recommendation I can find; I've enabled statistics and advanced statistics and can see that hits are being counted. I can display lists by what nodes are the most hit, etc; but I just ...
2
votes
1answer
26 views

What path should I give so that contextual filter works

I am creating on view page for which works like archive and I am doing it for the terms that are used in Blog(I am using blog module). I have followed this tutorial. But problem is when I give ...
0
votes
0answers
23 views

Field, Argument “Organic Groups: Groups” recreation after OG 6 -> OG 7 upgrade

I have upgraded OG from 6.x-2.4 to 7.x-2.7 and migrated fields (after my Drupal upgrade). I have "Organic Groups: Groups" Argument in my D6 version "og_events" view and "Organic Groups: Groups" Field ...
0
votes
1answer
26 views

Overriding Page Title with Contextual Links

View Path: team/member/% Contextual Input: Numeric User ID, single variable The purpose of my view is to 1) use Views Responsive Grid to layout the page appropriately, which I have done, and 2) ...
0
votes
0answers
10 views

Drupal 7 Views (PHP?) contextual filters and Panel pages

I have 2 content types: Wine and Award. Award has a required single entity reference to Wine. I’ve also a Brand vocabulary and a term reference to that in Wine content type so I can group Wine Brands. ...
0
votes
0answers
12 views

Change Commerce 'add to cart' attribute based on referring link

I have an ecommerce website selling books. The books are all the same product type, but they contain a field that uses a taxonomy term field to declare what format they come in - ebook, audiobook, ...
0
votes
0answers
32 views

Use text field as contextual filter in views? Or related content not based on taxonomy

I'm trying to figure out if it would be possible to use text field as contextual filter in views? Say I want to have EVA or block that takes certain Field-A from current node as filter. Then EVA or ...
0
votes
1answer
19 views

Views: list all nodes based on relationship

I have a datastructure where "Courses" has many "Activities". I've accomplished this by using entity reference to add a course_field to the activity content type. I am pretty conused, however, as to ...
0
votes
0answers
46 views

Contextual filters not allowing multiple values on Drupal 7 Views 7.x-3.8

I'm using Drupal 7 and Views 7.x-3.8. I have a taxonomy term "A" which is related with another taxonomy term "B". I want to retrieve a list of "A", but filtered by those "B" that are present in the ...
2
votes
1answer
39 views

Views Filter by Field value (content type A) = Field value (content type B)

I am getting exhausted trying to filter views by matching 2 fileds value from 2 different content types. For Example: Content Type (Employee A), with the following fields: ID (integer) Name phone ...
0
votes
0answers
31 views

Displaying content with specific Taxonomy term ID based on user's set TID

I have a use case where for some views, we need to limit items displayed based on a user's known settings (in this case, a Taxonomy Term ID we set using internal business logic on a weekly, if not ...
0
votes
0answers
14 views

creating views for related user of content

I want to display content which is related to some user for example user1 creates content1 & sends to user2 using entity reference field Now i want user2 sees only list of content sent to him by ...
0
votes
1answer
29 views

Rewriting a field in organic group member view

I am not sure if this is possible.. My organic group 'member view' filters all the members of a particular group. I have created the view so that the first member gets listed in a sidebar to become a ...
2
votes
1answer
53 views

Custom contextual filter on views using Group module in Drupal

I need to add a custom contextual filter in my view for the logged in user who is also a member of a Group specified in field_groups of my node. field_group is an entity reference field referencing ...
0
votes
0answers
18 views

How to Summary Lists?

Posted by pennyc on December 14, 2014 at 3:21pm I've created a View over a summary of my tags using Relationships Content: Taxonomy terms on node Contextual filters (term) Taxonomy term: Name and ...
0
votes
1answer
75 views

Views: how to make an OR condition between filters and contextual filters

I have been able to separate Views filters into groups and apply an OR condition, following this article: http://www.webomelette.com/drupal-views-filters-and-or-logic I also understand how to use the ...
0
votes
1answer
36 views

How do I create a summary that is grouped by years first and then months in Views using contextual filters?

Instead of the default formatted result of «Created year + month»: - Diciembre 2014 (12) - Noviembre 2014 (20) - Octubre 2014 (23) - ... - Diciembre 2013 (13) - Noviembre 2013 (34) I ...
0
votes
1answer
28 views

Issue using Exposed filters along with contextual filters in views

I have a view page listing my stories/articles. I have a contextual filter based on the field Country which is a taxonomy term reference field. I have defined the path of the page as article-search/% ...
0
votes
2answers
43 views

Displaying articles created by user in profile page using views

I want to display the articles created by user in user profile page. It should also display to anonymous user also. For example : twitter.com/google displays all tweets by google. Like that I want ...
0
votes
0answers
36 views

View of related content using contextual filter by taxonomy term in menu tab

I've got a view with a block of related content by taxonomy term. It works great. When I look at a node, I can see related content in the block. I'd also like to have a display that shows the view in ...
1
vote
2answers
19 views

Display a link to create new content when content missing (via Contextual Filters)?

I'd like to give users the option to create new content when a certain contextual filter is missing on a panel. e.g. I have my reviews on a panel. When a review is missing I'd like it to display a ...
0
votes
0answers
67 views

Taxonomy terms listing as glossary view with custom sort

I'm trying to create a taxonomy terms list with glossary view. Normally, everything is working (page view, attachment, contextual filter (glossary view) etc). My taxonomy terms are full names, such ...
0
votes
0answers
18 views

View in views, Contextual filter

I have a content type course which is a OG with fields such as course type, duration, level etc. I have created a view which uses exposed filters to list the courses with certain conditions (duration ...
0
votes
1answer
48 views

Contextual view -> entity reference target ID

I have the following situation: I have 2 content types (session and preformance) Performance has an entity reference to session I want to create a view that shows me all performances for the ...
0
votes
0answers
13 views

How do I create an alias for Service Views arguments?

I'm using Service Views to look at a vocabulary with a simple parent child structure (i.e. it only has two levels). I have set up the parent term as a filter. My issue is the url to access the ...
0
votes
0answers
35 views

How to filter node data by map zoom?

I have a page views include table node + map node. When I zoom in/out the map, the number of markers will change and I want the amount of data in the table node will also change the corresponding ...
0
votes
1answer
78 views

How to get contextual filter in hook_views_query_alter or hook_views_pre_execute?

I want to alter contextual filter before executing the sql query of views. Is there any way to get current contextual filter in hook_views_query_alter or hook_views_pre_execute? Or which is the better ...
0
votes
2answers
46 views

One exposed filter for many views/views blocks

I want to have one exposed filter and 2 blocks displaying different content types. They both have 'date' field and I want to show same-day content with one date exposed filter. Anyone knows how to ...
-3
votes
1answer
34 views

“Entity Content” not available in views UI [closed]

I have installed Eva module (7.x-1.2). I can't see Entity Views attachemet section on my views screen. I want a replicate what is described in this video for creating galleries. Its 2:30 mins in ...
0
votes
0answers
26 views

Customize Filters in a view based on URL in Drupal 7

I have a view with contextual filter with a URL of /taxonomy/term/%. So when I visit a URL on my site as www.mysite.com/taxonomy/term, it shows all the nodes which have the selected term. Now the ...