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

learn more… | top users | synonyms

0
votes
0answers
7 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
10 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
28 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
37 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
21 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, ...
2
votes
2answers
29 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
20 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 ...
0
votes
0answers
9 views

change field value shown in a view based on contextal filters

I've got a view of products (houses for booking) where one of the fields is price / night. When an availability search is done, the view applies a contextual filter and only show the available items. ...
0
votes
0answers
14 views

use multi level/chain of entity reference fields to create a list of nodes using views

I have 3 content types: Outline, Chapter and notes. Chapter and Notes have 2 entity reference fields chap_outline_reference and note_outline_reference respectively referring to outline. On the ...
0
votes
0answers
10 views

Displaying user-specific files [closed]

Here is what I'm trying to accomplish: Admin can upload files and assign them to certain users Users should be able to view those files (only the ones that are assigned to them in their user page) ...
0
votes
0answers
19 views

How do I make taxonomy contexts work in a panel node?

I made a panel node. It consists of 2 panes, of which the first one is a block that has a term reference field. The second pane is a view that has to use the term reference field to show proper view ...
0
votes
1answer
23 views

How to add sidebar menu to my views [closed]

I have a view page which is coming 100% width. I want it to be like this in the following screenshot. I want to create a user account page where the user can find the details and he can edit there. I ...
0
votes
0answers
7 views

Panels + Taxonomy Terms + URL Path

Ok, I am struggling with this one a bit so I am going to describe this in the most simplest of forms. I run a Drupal 7 website that is a holiday resort guide for Magaluf. The site lists in detail all ...
0
votes
0answers
16 views

Taxonomy Term URL based on Panel Contextual filter path

I run a Drupal 7 website that is a multiple resort guide. I have set up a panel page based on 2 contextual filters. www.domain.com/resort/%1/things-to-do/%2 %1 = Taxonomy Term [Vocabulary:Resort] ...
0
votes
0answers
9 views

dynamic change contextual filters passed from panel to a view

I have a panel passing user name parameters to a view as a contextual filter. So, a user only can see data digitized by him. But some other users should have the ability to visualize the data from ...
0
votes
0answers
7 views

Filtering commons browsing widget by user

I'm trying to filter commons browsing widget by user to add a posted content stream on every user page. I have tried adding a Contextual Filter for "Content: author uid" but had no luck. Is it even ...
0
votes
1answer
17 views

hide unpublished content in view, for everybody except the author

I'm trying to make a view of articles written by an author. I use the author UID from the URL as a contextual filter. I want to hide unpublished content from everybody except the author himself. I ...
0
votes
2answers
30 views

hide repeated data from my view table for some specific field

****how can hide repeated data from my view table. i want to print employee Id and name field only once for each group. can you please help me out.**** I am fetching two table in view using ...
0
votes
1answer
30 views

Make a field in a Views block visible ONLY to the acccount/profile owner

The profile owner (currently logged in) sees this (contextual filtered Views block): CURRENTLY, the other logged in users who visit test_user2's profile page see this: What I want to achieve, is ...
0
votes
0answers
33 views

Use NID in contextual filter on front page

I have a view set up that creates a block with some fields from a node. It uses the NID as a contextual filter so that the block shows the correct node's fields. This works fine on the individual node ...
3
votes
3answers
108 views

Can I include nodes in a view's results only at URLs specified in the nodes?

Is it possible to conditionally include nodes in a view based on the paths specified in a field on that node? The idea is to essentially mimic the default property of blocks, making their display ...
0
votes
0answers
17 views

Views relationship based on user viewing node

So this is what im looking to do: I have added a field to my users where they can enter their age in a numerical value. I also have a referenced product which can only show on its referencing node. ...
0
votes
0answers
8 views

Contextual Filters and wrong status codes

Currently developing a website using Drupal 8 and figured out that even when I set to display 'Access Denied' in Contextual Filters, the received status code is still 200. The same issue is with 'Page ...
0
votes
1answer
29 views

Views Jump menu with taxonomy url and custom url

I have problem with jump menu and contextual filters. My idea is this: I have taxonomys (a,b,c) URL: example.com/a (this works fine with contex. filters) Then: example.com/a/hello This hello is my ...
0
votes
0answers
15 views

Drupal 7 Site Structure - Contextual Filters & View Path

I have a Drupal 7 website that is a resort guide. I am now going to start adding further resorts to the site but I have a query regarding the site structure and how to use Views contextual filter ...
0
votes
0answers
14 views

Url is being hashed

I have this page: http://devbe.webhosting.be/catalogus At the top of the page you will see some links, the URL behing the link is http://devbe.webhosting.be/catalogus/Babykamer for instance... ...
0
votes
1answer
11 views

How to create a view with contextual filters and then make menus to filter it?

I have created a content type that I want to list and filter on taxonomy terms. For example I want to show all posts of that content type on the frontpage. Then I want to be able to create menu items ...
1
vote
1answer
29 views

Views: count and filter by entity field value

I have many nodes of type 'Players' and 'Match'. In the 'Match' node there is an entity field 'Strikers' referenced to 'Players' which allow multiple values. I'd like to create a player page that ...
0
votes
0answers
33 views

Entity reference and contextual filters not working

I'm trying to make a Entity Reference View Widget with a contextual filter. Basically, I have a entity reference field in my content type and I want to filter my results in my Entity Reference View ...
-1
votes
1answer
15 views

Entityform Submissions in a view

I have an EntityForm referenced on a node and i need to show submissions on a view where : Node Author can view all submissions Submitter view his own Submission (for edition purpose)
0
votes
1answer
20 views

Display content having the taxonomy of the logged in user

I need help creating a view in Drupal 7 with the following logic: My users have taxonomy reference field. My articles also have taxonomy reference field. When a user is logged in I want them ...
1
vote
1answer
37 views

Flag state as contextual filter in views

Please help me and provide a little explanation about the following thing: 1) What I have: a content type called "word" a flag for this content type called "learned". a view display with "word" ...
2
votes
1answer
59 views

Let Parent View child's result

I need to setup a view for a parent which shows the result of his child. The result is a content type which has a user reference field to each student who owns the result. Each students' profile has ...
0
votes
0answers
24 views

How to add author name to view title

I have a view (user/%uid/test) which displays the list of items created by user. I want view title to be List by %author_name. For this I have used hook_view_pre_render() and used below code. if ...
0
votes
1answer
15 views

Contextual value when the filter is not available and PHP code

I have block view that should be rendered in the node details page. i.e /node/*. The block should render latest 6 nodes published under the Category category_field that the node has its value. ...
3
votes
1answer
29 views

Load “my blog entries” on profile pages

I have created the view “my blog entries” which should be displayed on a user’s profile page. In terms of displaying not all but only the currently viewed user’s blog entries I have added the ...
0
votes
1answer
31 views

Calendar - Adding relationship to contextual date filter

I would like to create an Calendar view of some interships for a certain student. But when I change the Contextual (Date) filter to use an relationship no results are shown in the calendar. When I ...
0
votes
1answer
26 views

How to show views calendar by node field_date

I have a date field with start,end dates. But i can't understood how to show it in a views block by contextial filter date -> content from node Thanks for any help!)
1
vote
1answer
19 views

Couldn't create range_filter for search index(commerce price)

I'v a Search Api indexing server, I've added an index for price on it, and I want to create a price range filter on my created view. I've added the price to the CONTEXTUAL FILTERS on my created view, ...
0
votes
0answers
28 views

How do I get results in Views (Contextual Filters) regarded titles in URL?

I want the Views module to give me results by criteria of title of the node. I want to display all results from the nodes with the same title. So I used the Pathauto module, and put what is in title ...
1
vote
0answers
38 views

View with contextual filters and no value does not work

In a view I use a contextual filters with two fields: (category, subcategory) When I build an URL with values on both fields i.e. /?q=gallery-details/Anciens/dessin&page=1 it works. Idem if I ...
0
votes
2answers
24 views

Get yesterday's content with contextual filter in views block

I have a view and I try to show only yesterday's content. I add a contextual filter "Content: Created date". If I select "Current Date" from "Provide default value" its works perfectly. But I select ...
1
vote
0answers
20 views

How do I expose the fields value while filtering on a Combine fields filter?

I have view with multiple fields, where I have added a combine fields filter, which is working fine. I want to extend this and add option to choose fields for which fields user want to search for.
0
votes
1answer
24 views

Contextual Filter with Title and Language

I'm building an api that is going to change base on the title and the language that is been request. This request is base on the URL something like this www.example.com/abc/fr-fr abc = title of the ...
0
votes
0answers
14 views

How do I set up contextual filters for Content Panes?

On a Commerce Kickstart-based site, I created a "Brand" vocabulary/taxonomy term list that is a field on all product types. I would like to display a product catalog of all products the brand offers ...
0
votes
2answers
36 views

How to get distinct nodes for a view and its attachments?

I have a view of type "block" showing 1 node and another display attached to that block showing 3 nodes, in both displays nodes are sorted randomly, the problem is that I can't find the way to add a ...
0
votes
0answers
29 views

Can I use menu path with argument wildcard in Views?

I have Views profile list displayed as page. View path is 'mymod/%mymod_param/foo'. According to docs I can set wildcard value by a function (hook_menu) Function to set url param: function ...
0
votes
0answers
27 views

User table view of content authored by type

I am trying to create a view to display the counts of content authored by each user. I would like to display a different content type per column. I have created the solution as described in the top ...
0
votes
1answer
21 views

Views - context filter by nid

I have created a view, which basically queries files of type image. That view creates a block, which associated with a certain content type. So the block is displayed whenever one of the nodes of that ...
1
vote
1answer
41 views

View exposed filter with month and remove year

I have an issue that needs the help of everyone. I created the page in view to filter the node. I created a filter Date created in "view exposed filter" for filter by Date created. I configured for ...