"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.
1
vote
0answers
12 views
Passing an argument to a contextual filter in a Views block display
I'm still working on getting a handle on the difference between Drupal 6 arguments and Drupal 7 contextual filters in views. Right now, I have a situation where I need to basically pass an argument to ...
0
votes
1answer
22 views
Views page showing a user's content
I have created a image gallery on Drupal 7 users' profiles, which I would like to present as a separate page, linked to their profiles using views.
so, there would be a page at ...
0
votes
0answers
11 views
Filter with field related to logged in user
Is there a way to do this with contextual filter?
I'll try to explain the scenario, but what I need is basically filter nodes according to a field that every user has logged. On my system I have:
...
0
votes
1answer
20 views
Single view to display related nodes
I am trying to display related nodes block using a single view for all the taxonomy terms. So that if user click on any node title he/she will see the related nodes based on the node's taxonomy term.
...
0
votes
0answers
10 views
How to display terms as a field for a selected parent term in views?
I am using Drupal 7 and I have nodes with a taxonomy field where the vocabulary is Categories. A node can be assigned multiple terms. I would like to create separate views that display the nodes ...
0
votes
1answer
14 views
/current/ date range contextual filter
I have a view /widgets with a couple of optional contextual filters of type "Has taxonomy term converted to ID", so the url can look like this:
/widgets/blue
/widgets/big
/widgets/small/green
And ...
1
vote
1answer
25 views
show results for a view with certain node reference
I have created two content types a home and a subdivision. I have added a subdivision reference field in the home content type.
What i want to have is in each subdivision page, show a teaser of the ...
0
votes
0answers
32 views
Problem with Views / Taxonomy Terms [duplicate]
What I have
A list of taxonomy terms with a name field, a logo field and a category field (category is defined as a list).
A View that should show all logos of the taxonomy term if a certain ...
-3
votes
0answers
16 views
Views user profile and slideshows [closed]
I am trying something using views, slideshows and user profile. I have a field called images so naturally it contains images the user has decided to upload into his/her profile. Now I want to include ...
0
votes
1answer
17 views
Drupal views to display content updated today
For a drupal view, I want a filter such that in the block I can see Articles (created with a taxonomy term) either
Created/Posted today
Updated today (might be created earlier)
This is what I've ...
1
vote
1answer
29 views
Getting parents' terms of terms tagged into a particular content type nodes
This is a bit confusing for me.
I am using Drupal 7 and Views 3.
I have a list of particular content type nodes tagged with a term (from a vocabulary "topic"). Vocabulary "topic" is 2 levels deep ...
0
votes
1answer
15 views
Translated taxonomy term in contextupal filter not validating
I have a translated taxonomy term:
And have a simple view:
With a contextual filter on the translated taxonomy term:
Which works in english:
But not in french:
Any idea ?
0
votes
1answer
29 views
drupal 7 contextual filter views update
I updated views 3.0 to 3.7 and it broke a slideshow view that was setup with contextual filter to display certain content based off the url. Same setup just updated views if anyone can tell me why ...
0
votes
0answers
21 views
Filter out referenced nodes on NID
I would like to create a view displaying list of nodes on current node NID. The list consists of nodes that are referencing current node. Moreover I need to filter out nodes that are referenced by ...
1
vote
1answer
36 views
Custom Path Alias with Initial Letter as Token
For various reasons, I need to change my custom path alias for a taxonomy type as follows...
FROM:
/composers/aardvark
TO:
composers/a/aardvark
So I'm looking at either creating a custom token, or ...
0
votes
1answer
29 views
How to get contextual filter of a view from page.tpl.php?
this is my page view path /news/[years]/[month]
I want to get year and month from path, how can do it ?
Thank you.
0
votes
0answers
11 views
Views Contextual Filters from URL of Overlay
My site allows for the creation of a new node in the admin overlay theme from certain nodes. I would like to display a Views block with a contextual filter targeting the referring node. My URL looks ...
0
votes
1answer
38 views
Generating Views Block to list Taxonomy Terms of nodes curently visible in a Views Page
I have a Views Page which lists nodes of the content type, Article. This page also contains pagination since I configured it to display no more than 6 articles per page.
So for example, if I have 10 ...
1
vote
2answers
48 views
Using taxonomy terms alias in views contextual filters
I hope you can help me out with this. I have created a simple view with an argument. I use that argument to filter (contextual filter) the content of the view. I already know I can use that argument ...
0
votes
1answer
15 views
Related Content Block for a Views Page, Not a Node Page
I've created a views page that displays the most recent node of a certain content type. I have an image field in that content type that I would like to have displayed in the sidebar in a related ...
1
vote
1answer
32 views
Adding comments to user profiles
I would like users on my site to write "feedback" of other users.
My thought is to have a content type called Feedback, and create a view of it, to preview at the foot of the user page. I can also ...
2
votes
1answer
82 views
Expose date filter in views
So, what I want is a dropdown to filter news by months, the select box is like that(months are grouped by years):
- All
-- 2013
--- Jan
--- Feb
--- Mar
--- ...
-- 2012
--- Jan
--- Feb
--- Mar
How I ...
0
votes
0answers
36 views
D7 views contextual filter with hierarchical taxonomy terms
Using contextual filters, I have created a view which shows a page of users at us/california, based on a taxonomy I have made of locations.
This taxonomy is hierarchical, though, so when the user ...
0
votes
0answers
24 views
Passing a contextual filter value to a view via a link with entityreference prepopulate?
I have two content types, Ad and Reply (think of how posting works on Craigslist for the Ad, and the Reply is an on-site form to reply). I am using Entity Reference Prepopulate to automatically ...
0
votes
2answers
53 views
view inside a view with different arguments
I try to create a view with NID argument and embedd inside as a field another view with totally ditfferent argument. I used module called views_field_view but it seems that parent view is passing ...
1
vote
0answers
29 views
Related terms summary views block
I have a content type with two fields for two different taxonomy vocabularies (Section & Extras). "Section" only have one value, while "Extras" can have multiple values.
I created a block using ...
1
vote
1answer
67 views
Combine 2 contextual filters - taxonomy term ID from url and NID
Is it possible to get taxonomy term from url and node id at the same time from current node? I need to get taxonomy term from current node to pull some date from referenced nodes that have parent ...
0
votes
1answer
34 views
Any way to add a Theme-based contextual filter to a view?
Essentially, I want Drupal to only use the view if the proper theme is active.
This will apply to a mobile theme to be more specific. If desktop, use this view, else -- use this one. Is this ...
0
votes
0answers
12 views
Using Relationships With Views Contextual Filters
I have a content type "Ticket" that a user is viewing.
A "Ticket" is referenced to a piece of "Equipment". That particular piece of "Equipment" will be tagged with a certain "Equipment Type" term ...
0
votes
0answers
31 views
Contextual filter term names with dashes
I cannot filter for a one word taxonomy term in Views, when configuring Contextual filters to display results based on a taxonomy term, when specifying the validation criteria, using:
Validator: ...
1
vote
1answer
30 views
How to relate two views from same node
I have searched through all the questions, but I can't seem to find the information, I need. Accept my apology, if this has already been covered.
On a site for a law firm, I have a content type, ...
0
votes
0answers
46 views
contextual filter - check if current node's field is empty
I have a view displaying current node's terms and it's parent terms using taxonomy term with depth argument. I want to be able to disable this view based on a field existing on current node. If this ...
0
votes
0answers
37 views
Conflicting sort and group criteria in Views
I have a content type event which i want to show in a list. The list is quite complex. What i want to achieve is the events sorted and grouped by date and then sorted and grouped by category. I can't ...
0
votes
1answer
33 views
Views - comprehensive source for studying? [closed]
Making my first website I've been playing a lot with Views recently but I am still struggling to master both Relationships and Contextual filters. I've watched the video trainings provided in the ...
1
vote
1answer
198 views
Contextual Filters with PHP code
I am setting up a contextual filter for several taxonomy fields on a content type that stores my organizations records. I want to present my users with a nice looking url, not the TID. For the ...
0
votes
0answers
24 views
Change Contextual Filter's Value
I have a view of some content types set up. Is there a way to filter the view using the URL without using the actual values of the field? For example, say I have content type with a field that can ...
0
votes
2answers
39 views
Filter User in Views based on taxonomy contextual filter?
I have some users with taxonomy term reference fields.
Lets say users can be associated with regions.
When i view the user page i want to see all other users from the same region as the user i am ...
0
votes
0answers
25 views
Sorting View results based on taxonomy
I have a custom content type (say event) that has the ability to be a part of two taxonomy terms (Headliner and Featured). When an event is created, the user has the ability to select when an event is ...
0
votes
0answers
15 views
Views contextual filters
I have a view which displays all taxonomy terms from a vocabulary like this:
If a I have this structure:
Categories
-Cat1
-Cat2
-Cat3
-Sub1
-Sub2
-Cat4
-Sub4
...
0
votes
1answer
45 views
In Views how to configure a contextual filter to exclude the node being viewed?
I have the following setup: a content type (event) can have a "mother" event, which is configured as entity reference (Basically it's the same event on another date).
I have a view for a single event ...
0
votes
1answer
29 views
How to create a contextual filter to be used as the first character for a field?
I create a view listing a field called authors the page path miSite.com/authors
Then if I load this page I get the results:
Bach
Vivaldi
Vaccaro
Babbitt
This view page has the path: ...
0
votes
1answer
51 views
Creating a dynamic contextual filter list
I would like to make filter list of articles where I can filter by the month and year the article was posted. In other words something like
April, 2013
March, 2013
February, 2013
January, 2013
...
0
votes
1answer
53 views
get language path prefix code as contexual filter parameter
in drupal7
i have a block that shows recent posts which created with views
i want it to shows the translated posts of each language when i click the language switcher switch the language
i have two ...
0
votes
0answers
76 views
View Contextual Filter with external Database - Drupal 7
I've created a custom module to display in views an external database.
Everything is working fine and the data are displayed right.
The problem start when I want to use contextual filter.
-I create ...
0
votes
0answers
86 views
Contextual Filter for a Multiple Value Taxonomy Field
I have a content type with a taxonomy field that allows multiple values (a set of positions within the organization). I'm trying to create a view of some of these positions by passing a contextual ...
1
vote
1answer
56 views
Drupal 7 View display “Page not found” without contextual filter
I have created a drupal view for my content type "Work", it has a relationship "Taxonomy terms on node" and a contextual filter "(term) Taxonomy vocabulary: Machine name". My path is /work/%.
When I ...
0
votes
1answer
24 views
Views Contextual Filter - Full Month display
I created a View and it is working perfectly. There is only an issue with how it's formatting the dropdown list for Month filtering. Right now it's displaying the months in abbreviated format (ex. ...
0
votes
0answers
15 views
Commerce: Related Products by Product field
I am trying to show Related Products to my Product Display Nodes.
I created a new Field on my products called "related_group"
I added a view-block with contextual filters and a relationship to the ...
0
votes
0answers
16 views
Using EVA to show view based on Workflow state
I have the Eva and Workflow module installed.
I have a contest type "contest" that have relates nodes show with EVA. Now I want the related nodes to only show if that contest contest Workflow state ...
1
vote
0answers
66 views
Contextual filter based on translated term
I'm looking two days for the right answer but can't find it anywhere.
Here is my issue:
I'm using Drupal 7.21 with Entity Translation to build a multilangual site (English and Dutch). English is the ...





