"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

-1
votes
0answers
15 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
21 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
16 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
6 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
130 views
+100

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
18 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?
-2
votes
0answers
24 views

How can I compare view filter list value with view results field value? [closed]

How can I compare view filter list value with view results field value? the following picture might clear my question...
0
votes
1answer
16 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
28 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
39 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
13 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
38 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
50 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
12 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 ...
-1
votes
0answers
21 views

Set Views page title based on node title

Trying to fix an issue that I assumed would be easy, but has taken me hours so far with no success. I've created a content type, populated with fields and data, and have a Views display that has a ...
0
votes
1answer
32 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
7 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
40 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
13 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
27 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
21 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
9 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
13 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
26 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
20 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
40 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
37 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
18 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
48 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 ...
0
votes
1answer
40 views

How To Pass Taxonomy Term (Name) to Filtered View (ID) - Drupal 7

I have a custom view (page) created using Views in Drupal 7. It contains a taxonomy field and an (exposed) taxonomy filter. When viewing the custom page/view, it works exactly as needed and a user ...
0
votes
1answer
25 views

Insert a view with a context using php?

I know I can insert a view using the following code: <?php $view = views_get_view('VIEWNAME'); print $view->preview('default'); ?> In my view I have a contextual filter of ...
0
votes
2answers
32 views

Put a field in views with the vocabulary of the taxonomy term from a contextual filter

I have a view which accepts taxonomy terms as contextual filters. Now, what I would like to have is to put the vocabulary of the term in a field. Relationships?... On the nodes that arewhown by views ...
0
votes
1answer
23 views

How to show the brothers taxonomy term?

I have a tree of taxonomies, these taxonomies are the menu of my site and they are working with taxonomy_menu module, I am displaying the menu through a view, but I'm only showing the children as low ...
0
votes
1answer
32 views

Show users pictures who have flagged a node

I have a event node and a flag to join the event. I want to show the user pictures who have flagged "Join event" This is what I have done so far 1.Created a Node View 2.Added a relationship Flags: ...
0
votes
1answer
39 views

Organic Groups Views contextual filter is not working

I am trying to make a view in which I have to show images from an image-field of an organic group content type. I have tried for many hours but I am unable to make it work. I am trying to explain the ...
0
votes
1answer
31 views

views with multiple contextual filters - should return data only when both or any one filter is present

Views of content is having two contextual filter. For some reason node object is available to views so it is passing through url's 7th argument. 1.Content: Has taxonomy term ID Configuration: Php ...
0
votes
2answers
32 views

Organic Groups Views Contextual Filters

We have a country based site that needs to have an unfiltered view of various content types and a filtered view per country. We have implemented the countries with Organic groups but can't seem to get ...
0
votes
0answers
20 views

Custom views User profile page - contex. filter problem

I created a custom view's page which is showing my user fields and some profile2 fields. To replace the drupal's default user profile page, i've set the path of custom views userprofile page to ...
0
votes
1answer
15 views

Contextual Filters via Taxonomy

I am in the process of creating a View for my Drupal site and I am attempting to add a contextual filter by Taxonomy so I've added the Content: Has Taxonomy term ID (with depth) filter and selected ...
0
votes
0answers
21 views

storing args (or contextual values) that are input and passing them on

The core issue: to take as input to a view, an argument or contextual value, and then NOT use it in that view, but store or save it ... and then, when an item in this view is clicked, pass this stored ...
0
votes
1answer
33 views

View in views header still displaying when no result

I tried this question: Empty view is rendered even though there is no result And it didn't work I have a view of Judge nodes that displays using a contextual filter. Inside that view I have embedded ...
0
votes
2answers
47 views

How to update current url of view page so that it will filter correct result?

I have created view to search nodes of video from content type channel. I have set the URL as channel/%/search in view. when redirected to the page the the URL will be ...
0
votes
2answers
74 views

Create block programmatically based on node content

In Views we can create a block that the content depends on the content of a node using contextual filters. So we can pass variables and check the visibility of the Views-Block. Let’s say in our ...
0
votes
1answer
26 views

Show users a view of nodes tagged with the terms they flagged - Drupal 7

I want users to be able to create taxonomy terms and other users to be able to flag these taxonomy terms (using the flag module, sort of Follow). Then i want each user to have a view of nodes which ...
0
votes
1answer
10 views

Listing content inside an OG based on a tag name provided in the URL

I have a site divided in 4 organic groups: Product Corporate Data Users Users belonging to a group are able to post content in that group as well as read it. Every group has its page accessible ...
0
votes
0answers
17 views

Terms and content type contextual filters

I would like to extend the taxonomy/term view to filter by content type. Currently 'Taxonomy term', the view that emulates Drupal core's handling of taxonomy/term, uses taxonomy/term/% as the path. It ...
1
vote
0answers
37 views

single view for multiple term Image slideshow

I have created a taxonomy vocabulary as a product and created a taxonomy term as a collection, collection1 and so on. In collection i have an option to add multiple images once if i add, it will ...