"Contextual Filters" refers to the contextual information the Views module takes from a page URL.

learn more… | top users | synonyms

0
votes
0answers
5 views

Views contextual filter with special field from registration and profile menu

User registers and for each user there is special field where he must write PROFILENAME. Value from this field is used in creating all content and links that user creates so we have: ...
0
votes
1answer
11 views

Views contextual filters for user term references

I have two user roles that have term reference fields tied to profiles. One has a single select (user role A) and the other a multi select (user role B), but they reference the same taxonomy. I have ...
0
votes
1answer
40 views

Getting views contextual filter from url for display suite block

I have a URL for an event content type that concatenates two other content types, namely "name-of-venue" and "name-of-performer" with "date-of-event", so the url is ...
3
votes
2answers
45 views

Related Content View with multiple Entity Reference Fields

I am trying to create a View to display related content based on shared taxonomy terms from multiple vocabularies. For example: I have two content types called Car and Parts. I have two ...
1
vote
1answer
28 views

How can I filter a view according to another view's results

I have one view with two display: "latest news" and "populer news" I want show two block side by side like mashable.com. I can easily do that of course but one problem. There are same news both ...
1
vote
0answers
8 views

Drupal 7 Views Contextual Filter Override Title, but Make Singular

I have been able to setup a view that uses contextual filters that are taxonomy terms. The terms are categories and as such are written in the plural form, for example, "Posters" or "Flyers". ...
0
votes
2answers
55 views

Sort criteria is ignored in Views

I have a view that shows related products by means of a contextual filter (PHP). If the returned nid values from the contextual filter is for example "20697, 20735, 20768, 20903, 20695, 21863" I want ...
0
votes
1answer
21 views

How do I embed a custom node creation form inside a view

I have these nodes : Company, Cars, Trucks (cars and truck have a taxonomy term to give it's type). Cars and Trucks have a field named Company wich refer to the Company node. So i can locate the ...
0
votes
1answer
16 views

Contextual filter for taxonomy terms

I have a taxonomy terms display that list a taxonomy_list, this taxonomy_list has parents and childs: Parent child Parent child child Is there a contextual filter in views that i can use to pass ...
0
votes
0answers
8 views

“Delete button” in cart returns 500 internal server error with “Global:Null” in contextual filter in Views

I use D7. In views, I set "Global:Null" whose defaul value is "Current user's cart order ID" in contextual filter for some reason(this is my original cart). If I click the Delete button to delete an ...
0
votes
0answers
5 views

How to validate a view page if contextual filter (argument) is a coordinate (Geofield)?

is it possible to pass a coordinate as an argument to a Views page and check if that argument is a coordinate? An example: View type: content, page View path: find/%,%/%,% Contextual filter 1: ...
0
votes
1answer
14 views

Content Pane on Landing Page not getting Context

I thought that would be fairly easy: I am working with Panopoly and I have multiple Landing Pages, a Vocabulary, Content Items and a View with a Content Pane. The user can select one term per ...
0
votes
1answer
20 views

How can i display view specific content type based on dynamic term name in node page?

Hi i have a content type called "Resource" with 2 term reference fields, branches (A,B,C,D) other one is resource category (rec cat 1,rec cat 2) ,and i have created view called branches list ...
0
votes
0answers
23 views

order view by contextual filter

I've a site developed with Drupal commerce. I'm using the context filter to display a block with related products. I want to display 4 products, first ones I've selected with entity field, if there ...
0
votes
0answers
25 views

Using CONTEXTUAL FILTER [Content: Has taxonomy term ID] while excluding one field

I have several taxonomy reference fields and would like to use [Content: Has taxonomy term ID] to filter content based on all these fields but one (keywords). I tried adding [Content: Has taxonomy ...
1
vote
1answer
22 views

How to filter content in Views based on multiple term custom fields?

I'm trying to find a way to filter Views through contextual filters based on custom taxonomy term fields. Here is an example: Content type: Article Taxonomy vocabulary: Tags Tags custom field: ...
0
votes
1answer
22 views

View of related nodes by continent or country without taxonomy terms

I have a content type called Packages.Each content has two fields: Title and Continent(this field was created using the module Countries). I have created five contents of content type Package: Title ...
1
vote
2answers
22 views

Exclude the current node in a view with related items in case of multiple contextual filters

Excluding the current node from a display with related items is fairly straight forward. However, in my case there's already another contextual filter (NID) in the game for other purposes. Adding ...
0
votes
1answer
14 views

Fallback value for contextual filter, in case the “provided default value” does not exist

I want to display a block on each page (nodes as well as pages created by Views) that displays links to nodes that are tagged with a certain taxonomy term. How to decide which tag should be used: ...
0
votes
1answer
30 views

Filter taxonomy term view by referenced taxonomy term

Using two taxonomies. Fruit: Banana Orange Blueberry Strawberry Lemon Fruit taxonomy has a term reference to the color taxonomy Color: Red Orange Yellow Blue Purple Green Created a view using ...
0
votes
0answers
27 views

Strange Behavior : Drupal 8 Views with Contextual Filter and Path Alias Together

I am testing out a views page on core 8.0.5. The path is set at job/% and the contextual filter is Content: Node ID. This page view only displays a few fields for testing purpose. The preview works ...
1
vote
0answers
20 views

How to pass contextual filters in customer profile empty text?

I have a view displaying customer profiles. It takes 2 contextual filters : the user id and the type of the customer profile (billing/shipping). I want to add a no results behaviour, the "Commerce ...
0
votes
1answer
82 views

Term name converted to term id filter removed?

I am currently working on a view that should show all items from a content type with the given taxonomy term name (not id) in the url. While this was easy to achieve in D7 (by following the answer on ...
0
votes
2answers
62 views

How to create a block showing the sliding gallery of just 1 of the galleries?

again I need your help. I am running a site (D7.43, jQuery 1.10), with the jollyany (bootstrap) theme as the basis. Among other things the site has several image galleries, generated through Views. ...
0
votes
2answers
18 views

Content: tags contextual filter seems to only match the first tag

I have a contextual filter on the field content: tags set to "Match any value," but in practice, it appears that only nodes that match the first tag are displayed. For instance a node with the tags ...
0
votes
0answers
24 views

Drupal Views Contextual Filter PHP returning “all” not working

I'm trying to add two contextual filters in a view where both read from arg(3), i am using PHP format in each one of them, tried to return "all"; but it's still not showing results. Any help would be ...
0
votes
0answers
41 views

Views Log Error after upgrading to Drupal 7.43: “Undefined index: args in DatabaseLog…”

After upgrading from Drupal 7.41 to Drupal 7.43, I found that my Views are producing the following notice error when using PHP contextual filter code: Notice: Undefined index: args in ...
0
votes
0answers
13 views

Contextual filter on relathion Relationship content

I have 2 content types (article and event) both are attached to one sport (wich is a content type). I try to create a view which get all the content for one particular sport. I know that my filter ...
0
votes
1answer
16 views

How to display number of results that would show in a contextually filtered view

I have a view which has some contextual filters (not exposed) which limit the view results so they are only shown to the page author. I would like to show other users how many (total) results there ...
3
votes
3answers
71 views

allow user to choose from his own referenced nodes

I have two content types: business listing, product listing. "Product listing" has an Entity Reference field. This field points to the nodes of "business listing". I want to allow user to choose from ...
0
votes
3answers
29 views

Create contextually filtered view of shared fields across multiple content types

I have a content type "Construction Job" with the title field renamed "Job #". When we create a new job, we assign it a unique job number in the title field. I have two additional content types, ...
0
votes
0answers
15 views

after submit button ajax lost the checked items

i have a problem. i have installed EntityReference View Widget, and i have created a table, and i added a exposed filter with a submit button: i check a item (exmple : generaliste) and i enter in ...
1
vote
1answer
51 views

Views: filter by the highest (max) field value of all items

In this case, ‘Volume’ is a text field of type integer. Using the Views module, I want to display only those articles which have the highest value in the volume field. I am able to do it using ...
0
votes
2answers
39 views

Filtering list of nodes with attached views by taxonomy of node

I have a single article (page) which has an attached view thats displays a load of nodes (in a content called 'courses'). These nodes have a term reference field called 'language' which assigns them ...
0
votes
0answers
15 views

Entity View Attachments (EVA) with multiple contextual filters?

I have the following content types which are also organic groups; Country (group) Region (subgroup of country) Area (subgroup of region) Neighborhood (subgroup of area) Facilities (subgroup of ...
0
votes
1answer
21 views

Contextual filter : Override Title

The content architecture of the site which I am working on is something like:- Song - Content type Genre - Vocabulory Song has an entity reference field which points to the terms in "Genre" ...
1
vote
0answers
39 views

How to migrate a Drupal 7 website to Drupal 8? [closed]

I have installed the Drupal core 7 and worked with it. Now I want to migrate it in Drupal core 8. I tried a lot of steps already, like replace core files and folders from version 7 to version 8. But ...
1
vote
1answer
34 views

reverse output of list in the view

Is there a way to reverse order of the outputed list: These items were being added as Global:Contextual links in the View, but order is wrong. Instead of going and replacing in each view (lets say ...
0
votes
2answers
66 views

How to ignore the first argument in view contextual filters?

I am having path aliases of the form path/val1/val2/data that are created with pathauto. I want to create a view that will be use a contextual filter and that will read only section 3 of the URL. ...
1
vote
1answer
20 views

How to use contexual filters for registration events?

I want to create a block on the side of the page that will show registered users to a event. I already have a event type and calendar system + a registration system. When a user registers for a ...
0
votes
1answer
31 views

Node language in views contextual filters

I have a multi-lingual site. On the article page has a block with other articles. How to bring in the article section with the same language as the current node? Interested in is the use of contextual ...
0
votes
0answers
7 views

Add a fall back filter to View using Taxonomies and Dates in Drupal 7

I have the vocabulary called "Event Categories" with the taxonomy values: Tour Workshop Exhibtion I have a content type called "ABC Event" with the following fields Title Date Event Type I ...
1
vote
1answer
24 views

Add a views with fields of nodes added from admin in the user profile

I describe my scenario: the users in their profiles must display a view (views module) with a list of fields that the admin adds each time; I assume that the admin must add this fields from a ...
0
votes
0answers
13 views

View: display nodes based on user selected preference

I'm struggling with a view, principally the contextual filter. As shown in the picture below (trying to make it clear): My users can select in which products they are interested (through taxonomy, ...
0
votes
1answer
15 views

Drill-down contextual filtering

I've created a view called "Upcoming Events" that presents upcoming events in chronological order at the url /upcoming-events/all. Each event has associated tags. Currently my contextual filter is set ...
0
votes
2answers
40 views

Create a view of nodes to which a user is a member

How do I create a view of Nodes that a logged in user is a member of? Is this enforced in Relationships or Contextual Filters? That is, can you explain how group membership is enforced via ...
0
votes
1answer
54 views

HELP! Can't make glossary using taxonomy term name

I'm using Drupal 8.0.2 and I'm trying to create a glossary of taxonomy terms by name. I have setup the view as follows: Unformatted list Fields: Taxonomy term: Name Filter: Taxonomy term: Vocabulary ...
1
vote
1answer
23 views

Create And in contextual Filter

I need to create AND in Contextual Filter, for instance: I Want to Get All English Node AND Italian Node, with particular Taxonomy. But I Can Have En and It, but even only en or only it, or even it, ...
3
votes
2answers
61 views

How to filter views rows whose nid is less than nid provided by url?

Drupal 7. In a node/edit form panel I have added a view that returns nodes. I whish to filter thoses nodes and keep only the nodes whose nid is less than the nid of the node beeing edited. the url of ...
0
votes
1answer
30 views

How to get “User ID From URL” with contextual filter in Pfofile2 page

I'm using Drupal7. I wanted to display some fields from user account in profile2 page by using Views. I tried to do this by using views block and views_embed_view() coded in ...