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

How can I display all levels in Simple hierarchical select

I created select hierarchy ( taxonomy with 3 level), but in default it shows only one level , how can I display all 3 level in default page? : -Any- + -Any- + -Any- I do not want it to automatically ...
2
votes
1answer
21 views

Hide an entire View Block when query returns no data

I have a view block and - because of the filters being applied - it may show data or may not. If the view's query returns no results, I need to hide the entire block - the .block - not just the .view ...
0
votes
1answer
18 views

php in views contextual filter for different user roles

I am attempting to filter a view based on a php contextual filter, however the filter needs to come from different sources depending on the users role: administrators - from a query string all other ...
0
votes
0answers
16 views

OG context not passed in Entity Reference View Widget

I am using Entity Reference View Widget module (ERVW) and set its view to have two args, 1st arg being the "Content: nid" set to "display all" on no filter value while the 2nd arg is "OG Membership: ...
1
vote
1answer
32 views

How to show users with the same term?

I added a term reference field (field_department_term_ref) to user entity (/admin/config/people/accounts/fields), then I need use Views to list all the users with the same term as current logged in ...
0
votes
1answer
13 views

OR condition in Views Contextual Filters

I have a Content Type named "Match" which has a local and visitor. Both are node references to a Content Type named "Team". In Views I need to ask for matches of a specific team, no matter if that ...
0
votes
0answers
10 views

using contextual filters to read the value of a custom content pane

I have a view that I'd like to filter results based on taxonomy term. Each Taxonomy Term Is Currently Section On A 1 Page I Have With A List Of Custom Content panes. My goal is to display the page ...
0
votes
2answers
45 views

Views, Pathauto and contextual filters

My question is rather simple, but I didn't manage to find anything that can help. Summary of my setup : Drupal 7 Pathauto Views Entity Reference So I have various custom content types, which I ...
2
votes
3answers
91 views

Sort a related products view based on product features

Hi I followed the intructions here for createa a view of related products for my commerce kickstart website, those related products are selected based on taxonomy vocabularies like texture, color, ...
0
votes
0answers
15 views

How to list content from organic groups that current user administrates

I'm looking to list events from Organic Groups that the logged in user is an admin for: Very similar to the "OG all user group content" view that comes with Views, I've got a view that shows OG ...
0
votes
1answer
15 views

Calendar as view's pager (passing arguments between views?)

I have a view paged by week. Users are a bit disappointed by the pager: they find clumsy to navigate to weeks that are far in time (more than 1 month from today's date). The idea is to keep the ...
0
votes
0answers
14 views

How to connect/combine two specific content from different views

I have two views. Inclusions and Add-ons. On the form, the user will choose an Inclusion first, and then the user can chose an add-on, these items are displayed using views and the select button ...
0
votes
0answers
11 views

Views select all childrens of parent and contextual filter by child id

I need to create a view which would show all taxonomy terms which have common parent (use entity reference field in my case but suppose is almost the same) as selected term. eg: Parents: parent1 ...
0
votes
1answer
31 views

PHP code in contextual filter (Views) [closed]

I would like to get a value from the reference node of the node_id I used this code for PHP code in Contextual filter... $node = menu_get_object(); if ($node->type == 'trailer_videos'){ ...
0
votes
0answers
13 views

Adding blocks or content panes to a Views page in Drupal 7

I am using Drupal 7.34 and a bootstrap theme to develop a website for an organization. I have a custom content type which displays people's profiles, and a view page which currently displays all the ...
0
votes
1answer
26 views

Free Pager and Contextual filter

I just can't get my head around the following problem. I have two content types. One is ISSUE the other one is ARTICLE. I use the Node Reference module to link and ARTICLE to an ISSUE. Then I am ...
-1
votes
1answer
37 views

Show related nodes of category selected in current node(using static select list)

i have create a content type containing a select list field(ie Fruit, Food, Jewelery etc). Note it down i am not using any node reference nor any taxonomy vocabulary. i have added a static select ...
0
votes
1answer
20 views

View Preview Correct , Actual Page Not

I have a block view that I am placing in every page containing the content type "class". There are several "lesson" content types referencing it through entity reference "field_class". I want the ...
0
votes
1answer
31 views

How do I get a LEFT OUTER JOIN in Views that displays all rows with no match in the LEFT JOIN-ed table?

Views 7.x-3.x Staff sid name 1 Adam 2 Barbara 3 Carol 4 David Staff Roles sid rid 1 1 2 1 2 2 3 2 3 3 Let's say that I want a list of all staff, excluding staff who have a ...
0
votes
1answer
22 views

How can we create a search form to display a specific node

I need to create a result publishing system in drupal. there must be a search page to enter the student register number. when the user enter the register number it should take it to a single ...
1
vote
1answer
19 views

Views: attachment inherits exposed filters when set to No

I created a page with an attachment to it. Its a Glossary for the Username. And here is my attachment setting: i Have exposed filters on the page where it is attached to: And the Filters ...
1
vote
0answers
23 views

Views contextual filter pages sitemap

What's the best way to include views contextual filter pages to sitemap? I need the sitemap and all my pages submitted to Google WMT. What I have right now is a node type Book and a node type Author. ...
1
vote
2answers
18 views

How to I tell a Views Block to only pull Snippets belonging to the same OG as the container page?

I have a few pieces to my existing puzzle: Node Type Snippet View with Block Display called Snippets Block A context rule to put the Snippets Block inside a container page How to I tell a Views ...
1
vote
0answers
7 views

How to return taxonomy term list from all active facet filters on page and use this list as contextual filter in block of usual views

Please need help. (not solr) I have views facet page (list of users) with facet filters by fields (taxonomy terms) in this page -> i need to past usual views block (with nodes) in this page with ...
0
votes
2answers
22 views

How to get super parent id in drupal 7 views?

I have term like below, - India -- Karnataka -- Bangalore In views when I selected the parent term as a relation, I will get only "Karnataka" as a parent for "Bangalore", but I want to ...
1
vote
0answers
13 views

Archive block giving SQLSTATE[42000] error using views 3

I'm trying to make an archive block in views to filter my posts by year and month etc. I'm following a tutorial: http://chrisshattuck.com/blog/how-create-monthly-archive-block-drupal-blog-views but I ...
1
vote
1answer
29 views

how to filter blog posts by taxonomy and by year

I have been trying to build a filter fuctionality for blog posts. I would want to filter by taxonomy terms and by the year the post was published. So basically in the content I want to list all blog ...
2
votes
1answer
45 views

drupal views with contextual filter [closed]

I have created a content type page named events where several fields are there. also I have created a view page where list comes of events(title,body and read more). when we click on read more it ...
2
votes
0answers
36 views

Change views Contextual Filter based on select list value

Using Event Calendar Module I displayed dates in a calendar views. Now I have to create a select list with options like IST CST EST PST Changing the values should change the Date displayed ...
0
votes
2answers
33 views

Views page list of all content grouped by taxonomy term

I have created a view in Drupal 7 that displays all nodes that contain a particular taxonomy vocabulary. The view contains a page in an unformatted list format set to show content | teaser. All I am ...
1
vote
0answers
16 views

Using multiple AND/OR operators in contextual filters

I'm trying to query my nodes by using a contextual filter in views, however, I am unable to use multiple AND (+) operators and OR (-) operators at the same time. For example: This works: ...
0
votes
1answer
7 views

Contextual filter for an indirect taxonomy term?

I know how to display similarly tagged items of a different content type in a view block (here is a good explanation and settings picture). I have a scenario where the term IDs aren't directly ...
0
votes
0answers
14 views

How to allow users to check a checkbox to make a view their default view

Situation: A view with nodes, which has views displays 'Thumbnail list' and 'Compact list'. The users can select one of the display types in a menu, that has both options under 'Articles' parent ...
0
votes
1answer
25 views

Contextual filter on entity reference field in indexed view

I have two pages: jobs and offices. My jobs page is an indexed view (with Search API) which displays jobs that have an entity reference field to the office it belongs to. I want to put a link on my ...
0
votes
0answers
39 views

Drupal Paragraphs Problem: Building a reusable carousel paragraph item

I'm using the Paragraphs Module to create Paragraphs Items for easy page/content creation. I'm trying to create a paragraph item which displays a carousel (slideshow). The idea: The user wants to ...
0
votes
1answer
27 views

Contextual filter by taxonomy term not using language

We have a site with 3 different languages and each language is detected by sub-domain. One of the taxonomies we use is representing types of products and have terms in all 3 languages inside: ...
0
votes
1answer
31 views

Dynamically change views entity reference filter based on current form value

Is it possible to change the result of the view depending on the value being selected on the form, node creation form without saving it first? Last time, my problem was filtering the views depending ...
0
votes
0answers
11 views

How to use arguments of exposed page filters as contextual filter for block on that same page

I have a Views map page which correctly shows markers filtered by Destination and Category through exposed filter criteria of the kind: ...
0
votes
0answers
31 views

In Views how to group by year in an archive and then split into months

Views 3 - Create an archive for a given type grouped by year, then split in to months Node Type |-Year(2015) |-September (node count(12)) |-August (node count(15)) ... |-February ...
0
votes
0answers
21 views

Create a related content block by date and taxonomy?

I have two content types, A and B. Both of the content types are tagged with terms from Taxonomy list C. Content A and B both have a date field (start and end date). When looking at Content A I want ...
0
votes
0answers
20 views

Can I enter a non breaking hyphen in drupal

Can I enter a non breaking hyphen in drupal? If not, how can I avoid words with hyphens to be split up when I do not want that?
0
votes
0answers
22 views

views_handler_filter_in_operator with option arguments the View's Contextual FIlter value

I have created a view with a Contextual Filter (taken from the URL) in Drupal 7. In this view I need a filter which enables the user to pick one of many values. The views_handler_filter_in_operator ...
0
votes
1answer
23 views

How to organize webforms on (admin/content/webform) into groups

Goal: I want to be able to organize the list of webforms on the admin/content/webform page, which is in a View to my understanding, in groups. Either via visual groups (using some header or box) or ...
0
votes
1answer
62 views

how to make term reference field choose term from a multi level taxonomy vocabulary

I have a taxonomy voc 'area' that has three levels, region > province > town and city. I then have a content type 'members' which has these three term reference fields that retrieve region, province ...
1
vote
2answers
13 views

Filters and relationships data from a display to another within the same view

Hi everybody, I've been freshly introduced to Drupal and I'm having my first "serious" issue with contextual filters and relationships. Here is the context : I have a "process" content type and ...
0
votes
0answers
11 views

How to use Contextual filters by label or title of HTML option?

I have a news website, and a content type for news that has a field what named news_type and it's field type is a List (text) and it is a Select list. These are my select list: category_1|News ...
0
votes
1answer
85 views

How to display results tagged with just one term ID when there are multiple filters

I have a blog in Drupal 7 and used Views to display the fields. I have 2 sets of tags displayed on the sidebar: 1) SHAPES Triangle Square Rectangle 2) COLOR Red Blue Green I created the ...
0
votes
0answers
17 views

How to filter a block display with a custom contextual filter?

Within a page I have 2 block displays views. Both displays have the same filter criteria. One of the filter criteria is set to let the view display content with several taxonomy terms. What I want is ...
0
votes
1answer
20 views

Using contextual filter in view

All, I have been reading and experimenting, but have not been able to achieve the desired result - please offer some guidance. My site has two content types: meeting and presenter. At each meeting, ...
0
votes
0answers
6 views

Add contextual information to exposed filter

My goal is to create a My Tasks list that displays ContentType:Tasks that are assigned to the user. However, this page should have an exposed filter that would allow the user to see tasks assigned to ...