"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
0answers
5 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
7 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
9 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
11 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
18 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
32 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
9 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
41 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
17 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
11 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
14 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
9 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
19 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
10 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
30 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
12 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 ...
1
vote
1answer
44 views

Views Filters: find nodes that have more than one term in taxonomy vocabulary

How can I set a filter to find nodes that have more than one term in a particular taxonomy vocabulary? Note: The vocabulary allow unlimited values and is required field. So, nodes can have 1-∞ terms. ...
0
votes
0answers
9 views

How do I list all nodes that are *not* members of a specific organic group?

I want to create a "suggested nodes" view that shows which are members of some organic group, but not of the specific one I'm specifying with a contextual filter. How can I do that? I tried to create ...
-1
votes
0answers
24 views

How can I combine two contents field data into one content?

How can I combine two contents field data into one content? I have two contents of say 'Travel_Invoice' in one 'Travel_Invoice' it has No, Name, Months-List fields (Apr, May, Jun) in another ...
1
vote
1answer
25 views

How can I create a new content by adding another two contents of same content type?

How can I create a new content by adding another two contents of same content type? My situation is I have one content type 'Student' and in another content type 'Receipts' whi has one field called ...
0
votes
1answer
18 views

How to do it with views?

I have two content types BLOG and PROPERTIES In BLOG, I have an entity reference field called "Related properties" that will point to the PROPERTIES content type. Every BLOG node is gonna have a ...
0
votes
0answers
9 views

How to get/view the head revision for all nodes within a time period?

I have a drupal site which has various different content types, all of which can have revisions. I want to be able to display somewhere, whether in a view or some kind of output, a snapshot of the ...
-1
votes
0answers
13 views

merging two contents of same content type with views marged is not working in view

I have one 'Student' content. Each student content may have so many 'Receipts'. Each Receipts contains a Select Field contains 'April to March' (Academic year of the school) one receipt may be ...
1
vote
2answers
200 views

views_query_alter change to operator OR for contextual filters and normal filters

My question is rather simple and I have searched quite a bit for the answer with no result. My view produces below SQL (simplified): SELECT stuff FROM tableA LEFT JOIN tableB LEFT JOIN tableC ON ...
0
votes
0answers
19 views

I am getting nid of the field when I use php code in output of viewphp field

I am getting nid of the field when I use php code in output of viewphp field, but I want to display the field value... what shoul I do for this?
0
votes
1answer
17 views

Content referencing the referenced content

I've been searching and cannot find a way to achieve this: display content referencing a content that is referenced by the content being displayed. It may be somewhat confusing but I'll do my best to ...
0
votes
2answers
42 views

Drupal 7: Display latest articles by an author with bio

I have a content type called "Author" and have an author field on other content types which has a reference to the "Author" CT. (e.g. News Article having an author field) The "Author" CT has these ...
0
votes
1answer
46 views

Set the Contextual Filter: Author uid. to a default user?

I have a view called Map Items showing a list of map markers in a chart. Info: I have 3 Accounts in my drupal installation called person1, person2, and admin. I've set the contextual filter to ...
-1
votes
1answer
16 views

Multilevel filter

I like to make a form where users can choose categories to get to a node: for example they choose a magazines category(science, drupal, mechanics ....) and then publication year and then publication ...
0
votes
1answer
40 views

How to hide purchased commerce product with Panels visibility rules?

Goal: I want to hide the panel pane containing a view (containing a product display) when the user has purchased the product. Set-up: I have a commerce product entity (not display) which is flagged ...
0
votes
1answer
51 views

Listing a Members of a Household

I am building a Church Management System, I am working on the members database at the moment. I have 2 contact types, Individual & Household. The individual has fields for personal details & ...
0
votes
1answer
13 views

Exposing Related Content filter

I have a content type for publications that has a Related Content field for authors (which is another content type). I would like to create a view with exposed filters, where site visitors could ...
0
votes
1answer
16 views

View contextual filters to work as needed

I have content type A with some vocabulary for it and content type B with same vocabulary. On the node page of type A I want to show block with some content of type B wich has any same terms as node ...
0
votes
1answer
33 views

Contextual Filters

I have set up a Views Block for an events listing. I have set up a taxonomy vocabulary for Groups and have an extensive list under that. I have set up a Content Type for Events that has a field for ...
0
votes
0answers
8 views

Alter Pager query string based on header view

I've got a Calendar view that has contextual filters set to filter by both date and product ID. In the header, I've added a fairly simple view that displays my products and has a pager. I'd like to ...
0
votes
1answer
58 views

No results behavior not working when using contextual filter with content id from url

I have a problem displaying the no result behavior. a view gives me an image depending on what page i am on. So i have setup a contextual filter of "content:nid". When the filter is not validated, i ...
0
votes
0answers
14 views

using two contextual filters

Hey guys I have been troubled for quite some time on this issue, I know there is probably one straight forward solution but from all the tutorials I have seen and info on drupal, I have not solved my ...
0
votes
0answers
38 views

How to exchange variable values between contextual filters of the same view?

I have a view with two Global: NULL fields as contextual filters, which use php code in their default value. The first global null value calculates and provides an order quantity, and the second ...
0
votes
1answer
26 views

Show product commerce by taxonomy parent with childs

I want to show several products filtered by apples. Apple is a hierarchy taxonomy and not always the values from the parents are in the childs. Example: apple (apple can have other results that are ...
0
votes
0answers
10 views

views rules and views global filter: how to configure parameter in rules action?

I'm using Views Rules and Global Filter and I would like to use "Collect views result rows" within an action in Rules, which makes it necessary to configure the parameter of the global view. Is there ...
0
votes
0answers
15 views

how can i send a parameter to drupal view thru session?

i am new to Drupal and views. scenario: i have a view which uses a group entity for a logged in user. there are two users type "admin" and "customer" both sharing a view. with filter criteria as ...
0
votes
1answer
39 views

views NO RESULTS BEHAVIOR i18n

is there a way to show different no results behaviors for different languages in views 3. Thanks a lot
0
votes
0answers
23 views

Views contextual filter sorting

I have a view setup with contextual filters to display articles on a block based on node tags. The contextual filter is based on 3 taxonomy vocabularies (ex. A, B, C), each with multiple terms. The ...
0
votes
2answers
39 views

List content referenced to another content type

I'm creating a simple site which has shows and episodes. I have created both content types and I added the entity reference field to the episode type. The episode would reference a show which it ...
0
votes
1answer
42 views

entity reference view in a view

I have 2 content types: location and maintenance. I would like a view that shows all the locations with a search box at the top so the user can search the right location; when users click on a ...
1
vote
1answer
41 views

Panels “Page not found” when using required wildcard argument

I have a Panel Page, which displays several View Panes. I have specified a term name as an argument in the path settings. This is used to filter the View Panes. When I use an optional argument ...
0
votes
2answers
20 views

Create 2 separated taxonomy pages with views

I have 2 nodes type "Article" and "Page", I also have 2 taxonomy for each node type are "Taxo 1" for Article and taxo 2 for "Page", is there any way to create 2 seperated views so, with ...
0
votes
1answer
49 views

Embedded view doesn't appear in node

I have node golosuizaprognoz_lenta with hidden field argument-lenta, node golosuizaprognoz with field field_argument, view of table with Rating wiget: The node have title with date, for example ...