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

learn more… | top users | synonyms

0
votes
0answers
12 views

How can I have the values of two exposed filters filter for other multiple hidden field values in a view?

What is your intended major and/or minor? (can choose multiple) major1 (filters for multiple field type values, processor, memory, storage...) major2 (filters for multiple field type values...) ...
0
votes
1answer
28 views

How to display blogs related to particular taxonomy term name

I am creating blogs in my site. I have categorized the blogs by using taxonomy terms. I want to display these category names in right side view as a block, and when user clicks on the name, views ...
0
votes
0answers
10 views

Using a Contextual filter on a webform

I have a View that creates a tabbed block with different content types shown in the different tabs. I now want to add a Webform as another tab. Normally I would add the webform in under the Filter ...
1
vote
0answers
21 views

How do I set meta tag information in a view display based off the contextual filter?

I have a display in a view (page) which uses a taxonomy term id as a contextual filter to choose what content to display. I need to be able to change the meta tag based on the value of the taxonomy ...
0
votes
1answer
23 views

Is it possible to combine contextual filters with regular filters?

I would like to take my standard taxonomy term view and add a "meta" category that would show up in addition to the term selected. The result should be that items in the meta category show up as well ...
1
vote
1answer
89 views

Slide show of different views

I am trying to create a slide show of different views. I am thinking that the "view field" might work with "views slide show" - possibly sending the "view result counter" through as an argument. I ...
0
votes
2answers
14 views

Set view's filter to show nodes of entity refference field of current node

I have nodes of content type "product" and this content type has an entity reference field with multiple values, that contains references to another product nodes. Is it possible to set the filter ...
0
votes
2answers
11 views

Views contextual filter pages and duplicate content?

I just picked up a site that has its content represented by views pages with contextual filters instead of content pages, meaning that the content is available in two places. For instance, mysite.com/...
0
votes
1answer
15 views

Help with contextual filters needed

I'm trying to understand how arguments get passed into a view. I have a view which was working using content: type (=PersonStory) which is a join table connecting via Views Relationships to content: ...
1
vote
1answer
33 views

Contextual filter using taxonomy alias

I have a list of nodes that I want to attach as a block to another node using a contextual filter. Depending on the URL alias I want a specific node to be attached to it. The problem is that I want ...
0
votes
1answer
18 views

How do I filter a view based on a multilingual alias?

I have a view with a contextual filter which builds a page based on a product's model number. The path is /support/%, where % is the contextual filter for the model number. This works fine for English ...
1
vote
3answers
22 views

Apply view contextual filter only if user role is not administrator

I have a view that filter a list of taxonomies based on the taxonomies associated to the logged in user. This works fine. Now, I need to create an exception only for users with role "administrator" ...
1
vote
0answers
22 views

Views slow load time with date contextual filter

We have a Drupal site with a view of events content type (which is a list of events happening around the area). There is a display with a date contextual filter that you can filter based on a single ...
0
votes
0answers
21 views

Use a contextual filter when the value for the first two aren't given

I have three contextual filters in view. It works, but I can't make work if I don't want to use first two filters using a URL like http:example.com/firstValue/secondValue/thirdValue. How can I ...
0
votes
0answers
31 views

Paragraphs, embedded view

I'm building a Page with paragraphs, which embeds 2 views with viewreference field. One view is a leaflet map, the second are the fields like location, city and so on. On the second view there's a ...
1
vote
1answer
22 views

Commerce Line Item Taxonomy Reference Filtered by Product Selection

Here's the scenario: I'm selling furniture. I have a chair we'll call Mission Chair. The Mission Chair comes in oak or maple, both are priced differently. I have a field in my product I have a ...
0
votes
1answer
18 views

Function not working in contextual filter

I have a function in my custom module that return the nids for drafts in array. function get_all_drafts(){ $query = db_query("select bid from kom_draft"); $res = $query->fetchAll(); ...
1
vote
1answer
41 views

Facing Repetition in records when I use multiple relations in Views

I am trying to use views fetch the News and Articles for display on my custom content type "Industries". On Industries content type I have node reference fields to the News and Articles content types. ...
1
vote
0answers
17 views

Exclude taxonomy term parent in view

i have a menu with this structure: Item name: Sport Item link: taxonomy/term/35 And taxonomy terms with this structure: Football tid 35 - Smallfotball tid 38 parentid 35 - Bigfootball tid 55 parent ...
1
vote
1answer
26 views

Menu with contextual links from view

Each user, lets say performer has profile page (which is node, not default user page) which is visible and can be made once.. Band (for example "Cool Band") can create image gallery, video gallery, ...
0
votes
1answer
27 views

Use contextual filter global null to pass values to override field result

I come again with new question about Drupal Views and i hope you can help and explain me how to achieve this, I made a page view to display all my content (this works fine) with the following path: /...
1
vote
1answer
28 views

Help with view on multiple pages

I experimented for a few hours with drupal (tried contextual filters) and searched across the internet, but couldn't find a solution for my problem. (I'm not a "drupal engineer", so maybe it's very ...
1
vote
0answers
25 views

How to use contextual filter argument as a title in default menu tab — views?

How to set title in above image = current year so that it will provide all titles/content of current year -- 2016? OR How can we create an yearly archive with default year opened = current year ...
1
vote
1answer
41 views

Passing Arguments between an EntityReference field and an EntityReference View

So I'm trying to figure out how to filter a couple of entityreference view I'm using to populate an entityreference field. It has the option to pass arguments to the view, but I'm not sure HOW to do ...
1
vote
0answers
10 views

Based on articles taxonomy and branch selection we are differentiating the taxonomies for different branches

Based on articles taxonomy and branch selection we are differentiating the taxonomies for different branches. I created one taxonomy per one page just like section 1 sub ...
1
vote
0answers
11 views

Views contextual filter by same Taxonomy Term Name with different Parent

I'm trying to filter a view with a path like this "/view/%/%/%" , i'm having a hard time trying to filter nodes that belong to different childs but have the same taxonomy term name. This is the ...
0
votes
1answer
30 views

How to hide taxonomy terms with no content

How to display only those taxonomy terms that have content? Can this be done with the help of relationships or contextual filters?
0
votes
0answers
42 views

Related Content View using Entity Reference Fields and Taxonomy Depth

I would like to display a "Related Content" block on nodes of type Car when the content being viewed shares the same Entity Reference field value of node of type Parts. Content Type #1 - Car Title ...
1
vote
1answer
17 views

Combine own stream with flagged user

I am using follow flag latest version and edited the view fbss_ur_stream. I also created a following and followers view with the help of this tutorial Twitter style follow following I took the idea ...
1
vote
2answers
19 views

Contextual filter with Node Reference and Pathauto

I work for an organization that makes research grants. We periodically write "research briefs" for our grants to summarize what they found. My test Drupal site has a view of research briefs, and what ...
0
votes
1answer
25 views

How to use Php code in Views page contextual filter with dynamic URL i.e using %?

I have a content type App with a term reference field called App category. I'm creating a view page with path app/%. I don't want to use App ID or anything numeric in URL in place of %, so I'll be ...
1
vote
0answers
29 views

View works in preview but not showing on the page [closed]

I have created a simple view. It is designed so that content with a taxonomy term (category) has a contextual filter. I want users can click on a category in an a custom content type of HowTo, and go ...
1
vote
1answer
83 views

Hierarchical Views Catalog using Taxonomy in Drupal 8

I have the following Taxonomy vocabulary named Product Catagories: Categorie1 Sub categorie1 Sub categorie1 Categorie2 Sub categorie2 Sub categorie2 If the user click on e.g. Categorie1 I ...
1
vote
0answers
11 views

Filtering Taxonomy term descriptions in Views

I've created a Taxonomy Vocabulary with the name "Remarque prix". I imported it as a Term reference field to Commerce Product with the aim to be able to give a unique Vocabulary term to each product (...
1
vote
2answers
25 views

7 - Views Filter where one field equals Logged in User's Email field

On a custom content type I have created, there is a List(text) field called "Assigned to" that has a drop down selection of certain emails. (E.g user1@domain.com, user2@domain.com, user3@domain.com, ...
0
votes
0answers
36 views

Contextually filtering content on a Search API view

I want to create a page which has the content node fields belonging to a taxonomy term and I want to filter them by using a facet in Drupal 8. This is not possible using the view taxonomy term page ...
0
votes
0answers
19 views

Views Contextual Filter Jump Menu - Option to 'View All'?

I'm using a contextual filter in a block to show a jump menu (dropdown) of taxonomy terms, sorted by the number of times they are used. I'm using this block with another view page to filter the ...
0
votes
1answer
11 views

Restricting view to content associated with user profile

On my site some users have the permission to see others' profile. I'm looking to show a view in a block containing a food content type. It will be displayed on the profile page of the users (user/*). ...
1
vote
2answers
54 views

How to get the real sql query of a view?

One of drupal view displays reviews based on a selected event. It should display 3 reviews but instead it displays only 2. It doesn't happen for all the events and only for certain events instead of 3 ...
0
votes
0answers
2 views

VBO Redirect reduce contextual filters

I have a view that show a List of files, and an own action where I write the selected items to a var. Everything works fine, except for the redirect after the batch process. example: http://www....
1
vote
1answer
52 views

views contextual filter by current year missing granularity

In a view I need a contextual filter: all nodes with creation date in the current year. In D7 i was able to provide the current date as default value and set a granularity for the date, e.g. the year....
0
votes
0answers
7 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: example.com/...
1
vote
1answer
17 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 ...
1
vote
1answer
50 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 "name-of-venue/name-of-performer/...
3
votes
2answers
62 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
31 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
11 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
57 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 ...
1
vote
1answer
24 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
26 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 ...