"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

-3
votes
0answers
43 views

hi. i have question need help

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 ...
0
votes
0answers
3 views

Is using views to display information of one contenttype combined with user info bad practice?

On a Drupal 7 website I have a content type for which I would like to create a page that also contains user specific information. It is not a collection of data it is just like a content type display ...
0
votes
1answer
11 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
21 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
16 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
16 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
4 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
3 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
10 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
21 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
6 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
17 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
19 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
25 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
14 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
9 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
17 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
15 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
24 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
12 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
23 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
15 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
12 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
16 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
16 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" ...
0
votes
1answer
19 views

Dynamic Views Pages - How to add in meta tags to these generated pages?

I have 1000s of dynamically generated views pages using contentual filters. I want to be able to take certain keywords from these generated pages and add them to the on page meta tags. Currently I do ...
0
votes
1answer
48 views

Show user content in taxonomy term page

I'm using References module to use User Reference field in Taxonomy Term page. I have added new Term called "Matt's books" with user Matt set in User Reference field (field_user). User Matt has ...
0
votes
0answers
18 views

Views Filters: Show only terms from parent term when contextual filter provided

I have a Vocabulary with a structure like: Term A Term Z Term Y Term X Term B Term W Term V I have a view that uses contextual filters (/section/%), such that when a user visits ...
0
votes
0answers
18 views

Dynamic dependent field with entity reference and organic groups

I created a node type "friendly match". In this node type I got a field "club" that is an entity reference/ og reference to the "club" organic groups of the current user. The second field named ...
0
votes
0answers
12 views

Get OG membership from a node, get Users from OG membership, and show content whose User field belongs to the group

I've been reading up on relationships and contextual filters and have managed to figure out the basics, but I'm still a bit confused on how to properly join tables. I am creating a View that will ...
0
votes
0answers
16 views

Views: show a list of users-profile who have multiple taxonomy terms?

I'm trying to set up a contextual filter that creates a list of profiles who have all the taxonomy terms the user choose. I understand that there is no contextual filter like "User: has taxonomy ...
0
votes
1answer
11 views

View Contextual Filter format for Block

I have created a View on my /blog/ page for displaying blog articles. For layout reasons this view is in a block. This view has a contextual filter for Taxonomy tid on node and, since it is a block, ...
0
votes
1answer
16 views

node access by related fields

I have created the following List field type of checkboxes to allow users to select their own content's privacy settings when creating a node called RideShares: 1|me only 2|any registered site member ...
1
vote
1answer
25 views

views pass argument for number of records to display to pager contextual filter?

Drupal 7. Is it possible to pass an argument to the contextual filter to limit number of items to display in a View from the UI? IOW: can you pass an argument that replicates the Number Of Items ...
1
vote
2answers
37 views

How to use a field other than node id or term id as contextual filter?

I have a content type "Person" which has a field called "state". On the node page of any "person", I want to display other nodes of "Person" which has the same value for the "state" field. For e.g. If ...
0
votes
1answer
12 views

How to add another filter to TVI default page view?

I have the TVI module installed but I wanted to add one more contextual filter currently: mysite.com/taxonomy/term/[term of tags vocabulary] what I want: mysite.com/taxonomy/term/[term of tags ...
1
vote
1answer
48 views

Contextual filter only working on one URL

I've been going through posts such as View block not accepting contextual filter argument, Contextual filter on Views Block file not found, How do I get a block to use a URL to configure a contextual ...
0
votes
0answers
7 views

Restrict a relationships and contextual filters to one field in view

I am trying to create a chart of site-wide versus user activity over time. X-axis is time, and Y-axis is userpoints. I can plot site-wide activity and user activity on separate charts fine. I'd like ...
0
votes
0answers
6 views

Can I pass a taxonomy term from Node to view and access that term's fields?

I know how to get Location vocab -> Term A passed into a view via contextual filters. No problem there . However, what I want is not actually Term A but rather the data contained inside of that term's ...
1
vote
0answers
19 views

How to asynchronously execute/render a view using views_embed_view in a template file?

I have the latest Drupal 7 running on a Centos OS. I have a content type named publications which is composed of lets say around 20 fields (i.e. publication title, name, doi, authors, keywords, ...
0
votes
1answer
15 views

Encoding and decoding in Views

I have a view that accepts a contexual filter.When I pass a value through contextual filter like view/sometext ,it is passed directly without encoding.I need to encode it in the url and decode it ...
0
votes
1answer
17 views

how to exclude current node from a view inside a node commerce kickstart

I know variations of this have been asked left and right but I can't get this to work. I have a Commerce Kickstart Product Display (shopping cart form, basically a node). Inside this content type is ...
0
votes
0answers
14 views

Display user manager / membership level in Views OG User groups (OG membership)

I am working with the OG User groups view that comes with Organic Groups, in Drupal 7. With a list of all the groups a user is associated with (member or manager), how do you add a field/column in ...
0
votes
1answer
20 views

How can I get the fivestar module to submit the page url to the database?

I know the module stores the entity_id of the "page"/node and I can translate the enity_id's (node id's) to url paths like so, so I can display them in a view: function ...
0
votes
0answers
12 views

How do I pass default arguments (e.g. from a contextual filter) to VBO?

Using drupal commerce, I have a view of users who bought products that belong to a certain organic group. I want to add all users who have paid (which I have to set manually) to the organic group. To ...
1
vote
1answer
34 views

How can I do a cascading Entity Reference data entry or is it even possible?

I am working on a system where we want users to be able to create a Project which will be made up of one or more Project Activities, each Project Activity being constituted of several Sub-Activities. ...
0
votes
1answer
23 views

Views contextual filter based on text field

I have a related nodes block that I display on my node. I got the contextual filter working for taxonomy fields, but I need to add a filter based on a textfield. In other words, I only want to ...