Tagged Questions

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

Display related content in view by entity reference in views drupal 7

I want to show related content title in block view by entity reference. I have created two content type 1)Hotel Type 2)Room Type. Room Type have field_hotel which references to Hotel Type. How cant ...
0
votes
0answers
9 views

Passing Offset Number via Contextual filters & Account for other views on page

Is there a way to contextually set the OFFSET number in a views block? Currently i have 3 view blocks on my page. Each block has its own unique layout and each block displays 4 teaser nodes. I ...
0
votes
0answers
27 views

2 Locations proximity and content: Nid

I am developing a Drupal 7/Omega 4 (panels & views) estate agent app. For each individual property I need to include distance/proximity to their local schools. With that in mind, I installed ...
0
votes
1answer
20 views

Show only nodes that are connected via entity reference with views

I am trying to create a simpler version of Organic Groups as I don't need most of it's functionality. What I am trying to do is use entity reference, nodeaccess_userreference and ...
0
votes
1answer
27 views

Contextual Filter not getting the correct NID from URL

I THINK my Contextual Filter from my view is not getting the correct NID from my URL. I have a view page with a path of "node/%/agenda". The link on my menu is "node/[node:nid]/agenda". The view ...
0
votes
0answers
25 views

User View User Term Reference display content with matching Term Reference - Calendar View

I have a user account which has. I have created a view of type USER - this is because there is no reverse taxonomy relationship and it appears the only way I can relate the taxonomy to the matching ...
-1
votes
0answers
18 views

Where can I can find more information about contextual filters?

I've searched in the drupal documentation but so far I haven´t found much information about contextual filters. I'm looking for examples and more detailed information about what someone can do with ...
0
votes
1answer
14 views

Matching user accounts in views with taxonomy

In user accounts we have two Term fields that use the same taxonomy vocabulary. For example, the user profile has I need and a I have fields. For example User A has a blue crayon but wants a red ...
0
votes
0answers
16 views

Views link to contextual filter multi language

Here's the issue. I have two views, one is just a block which displays all of a certain content type and the other is a page (path = /car-desc) which displays a specific node through the contextual ...
1
vote
0answers
10 views

How to hide a view when moving through pages with contextual filters?

I'm new at drupal and I´ve been struggling with contextual filters. Here is my situation: I have 2 views in one page. One of them displays an article list which creates a pager and the other view is ...
1
vote
1answer
35 views

How to Use Contextual Filters

I have a view where I'm showing all postings by post author. Right now, I show (and filter) the posts by author name using contextual filters. I want to change it so that I still use the username in ...
0
votes
2answers
22 views

Views: Showing related nodes from the tagged taxonomy term using views

I have two content types, Article and FAQ. They both have a Term reference field for tagging from the same taxonomy vocabulary called subject. So on Article node view page, I want to display the ...
0
votes
0answers
12 views

Taxonomy view breaks when changing url

I have a taxonomy view that outputs to the a page example.com/food/toast that works correctly. It shows a list of nodes that have the term food within them. When I try to change the path to ...
0
votes
0answers
15 views

Is it possible to use context filters for Entity Reference View Widget?

I have a Class Content Type which users pay for, I use Entity Reference to attach the users whose payment has been made, and I'd like to use Entity Reference Widget to add them easily just creating a ...
0
votes
0answers
18 views

How do I show a list of users who share similar taxonomy terms indicated on their profile

I am trying to create a Drupal 7 user listing view that will show a block of users who have selected exactly the same term name from a single vocabulary that has a list of names as its terms. My ...
0
votes
1answer
11 views

Views related nodes with same Title

I am building a booking system for a local theatre company. Each theatre event is its own node, and for the same show on different nights, the first night is created, and the node is cloned, with a ...
0
votes
0answers
24 views

Drupal Views - Calendar Display multiple entity references of logged in user

So, I have a view that is a calendar view. I also have a user account with fields added to the user. They are both entity reference fields for a content type of Procedure and Pre-Op. Both of those are ...
0
votes
1answer
15 views

Commerce Products Display Page Using Views

The usual way to display Commerce products is 1. Create Products using Commerce Module Interface 2. Create a Content Type for Products Line Items by referencing the products But I have too many ...
0
votes
1answer
26 views

views contextual filter second variable

I have a view that receives two variables like my-view-url/%/%. In a menu I have created a url something like my-view-url/animals/dogs. How do I get the contextual filter to see the second variable ...
0
votes
1answer
31 views

Use product entity field as filter in Views

I have a product (type: "lamp") with a text field called "power". On the Product display node ("showcase") i also want to see a block made with Views. It must show three other products of the same ...
0
votes
3answers
60 views

How do I configure a view that gets a taxonomy on a node, and retrieves fields from the taxonomy?

I have a view, which only appears when you navigate to certain nodes. Each node which it appears under, has a taxonomy with a field called 'related_content_entity' referencing some related content. ...
0
votes
1answer
17 views

Views: Sort items using contextual filter arguments

Im trying to create a block of "Related products", I have 3 criterias for show the related products: Color, Texture and size. These are taxonomy vocabularies. In the view I can use contextual filters ...
0
votes
1answer
16 views

using contextual filters to filter with relationship

I have articles and issue nodes, where every article is related to an issue. I am trying to create a Views block which shows related Articles. This block should show on on the Article node page. What ...
-4
votes
1answer
55 views

hi. i have question need help [closed]

I have one vocabulary including the following terms: laptop laptop dell laptop hp laptop asus Server Intel server Ibm server intel server I want to create a block view listing so that when I ...
0
votes
1answer
14 views

Filter nodes matching user account field [list (text)] using different field names but same key

There is a field of type list (text) [field_list_user] on user accounts and a field of type list (text) [field_list_node] on nodes. Both fields have exactly the same keys but different labels [and ...
0
votes
1answer
28 views

Views: Display block based on taxonomy term

I have a vocabulary (Alive or Deceased) that has 2 terms (alive and deceased). If the node is under "alive" category there should be displayed block A, otherwise no block should be displayed. How can ...
0
votes
0answers
17 views

Views, tabs and arguments

I want to have 2 tabs for my view. I made the following view with views: /katalog (page) /katalog/%/immobilie (page_1) /katalog/%/immobilie/map (page_2) The views has a contextual filter argument. ...
1
vote
0answers
23 views

Is it possible to make an exposed filter dependent from a contextual filter?

it seems like it is a trivial and common use case to me, but I have not found a solution so far: I have several vocabularies and I want to deliver a vocabulary via url into a contextual filter and ...
0
votes
0answers
9 views

Complex views, pages and redirect configuration

I'm going to describe the setup and what I was able to achieve so far. I have many taxonomy terms, which I don't want to be accessible and some which I want to be accessible via URL. I have persons ...
0
votes
0answers
8 views

Commerce View With Multi-Value Entity Reference For Related Products

Commerce Kickstart 2. In the Product Edit form, I created a multi-value field called 'Product Accessories', which lets one multi-select from the list of Products to indicate related products. I ...
1
vote
0answers
14 views

Contextual filter on content ID returns 404 in drupal 8 beta 2 [closed]

I'm trying to show a list of all articles available but filter that list by URL argument if that's available. So basically: http://myhost.com/article_listing/ Should show all articles Works ...
0
votes
1answer
23 views

Hide view programmatically

I need hide view when some GET param exists. It should be hidden like if you insert 'Global: Null' in contextual filter(It hides view if no results). This view placed in panel* I tried find the ...
0
votes
0answers
7 views

Private Taxonomy Terms and views contextual filter: arguments/ fields of the owner

When creating a View of Taxonomy Terms and enabling the Private Taxonomy Term Modul, there is the possibility to set a contextual filter to "Private Taxonomy term: Content owner". However for my ...
0
votes
0answers
32 views

How to change the operator for a views contextual filter?

I am using the views module to present data as a table (block) from a mysql database. The table is filtered based on the raw value from the pages URL path. View only allows for the contextual filter ...
0
votes
0answers
12 views

views, contextual filters with different views pages and themes

my problem is to use the same internal path for different pages. I know that this is not possible, but perhaps anybody has a way to solve this. Assume there is a catalog with a list. The catalog has ...
0
votes
0answers
26 views

Display certain nodes based on user's proximity (i.e. “local” homepage vs “non-local” homepage)

(Using Drupal 7) My client's website has a series of blocks with a custom content-type of "Call To Action" (CTA). They would like to customize the homepage and show certain CTA nodes to local ...
1
vote
1answer
26 views

Contextual filters multiple value title

I've added title override %1, to contextual filter. Filter uses taxonomy to get nodes. If I open page "catalog/1" I get title from term1 with all the content If I open page "catalog/2" I get title ...
0
votes
1answer
15 views

Dynamic view with a field matching a role of User in Drupal 7

On my site, the nodes are restricted based on user's role. Admin selects any number of roles in a field (field_role) when creating a node and if any logged in user's role matches one of the selected ...
0
votes
0answers
21 views

How to display Filedepot Listing Block on organic group page?

I already spent too many days looking for a solution so I finally decided to ask for help ! I want to display the block name 'Filedepot Listing of the viewable folders for user' on a content type ...
0
votes
0answers
28 views

Moving the a view Contextual Filter default value(“PHP Code”) to a module code

I am really wondered to know how I can move my designed view's Contextual Filter default value which is being provided by my written code as PHP Code, to a module code or a hook. Is there any ...
0
votes
0answers
21 views

Override Taxonomy Term Path to Contextually Filtered View

This may be highly specific, but I still think it has value for sizable number of applications in the wild, so here we go: I have a View established using Contextual Filters The Contextual Filters ...
0
votes
1answer
36 views

Drupal Commerce Catalog Views - Strange Issue with Displaying info of current term

I have built a series of views to build a Drupal Commerce display for products based on the Taxonomy terms of those products. These terms have a hierarchy. There are nearly 40,000 products being ...
0
votes
0answers
19 views

Node view, reference User and Profile2 fields

I am trying to accomplish the following. I have a node view that shows fields based on the nid contextual filter. This I use mainly for formatting purposes. I then added a content pane where I want ...
0
votes
1answer
29 views

Contextual filter on taxonomy view using URL

I have a taxonomy Bubble Clouds Flower I also have a pages where I need to be able to pull a taxonomy term (and it's fields) into the page. if the site path is abc.com/features/bubbles I need to ...
0
votes
1answer
16 views

How can I embed view results right in the content region as if it's part of the content?

I have a node type with some entity reference fields that displays teasers. I also have a block view that takes a URL component to display related nodes that are not referenced on the node's entity ...
1
vote
0answers
21 views

How to create a View that shows a node from the URL inside the admin area?

I have a certain node type that I want users to be able to view using the admin theme. I have a view that provides a list of this content at admin/foo/list. I'd like to create a view with a ...
0
votes
1answer
21 views

How to filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary

Using Drupal 7 Views > Contextual Filter, how can I filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary? I have a ...
0
votes
0answers
27 views

View Contextual Filter doesn't display created taxonomy term

I want to display a list of promoted products in a particular View, different of the default Product Catalog of Commerce Kickstart 2. I created a taxonomy term "Highlights", to correspond to these ...
0
votes
0answers
17 views

Exposed form for contextual filters

I have a View with some contextual filters which works great. I also need to provide my users with some way to change the filters once they're on the page. I've tried using exposed filters but I'd ...
0
votes
0answers
9 views

How can I use a field, to sort by tags in a view?

I have a content type, "profile", with 3 fields: Title, City and State and I want users to enter in text for those fields each time they use this content type. I have another content type, "event" ...