Quantcast
Channel: Question and Answer » views-contextual-filters
Browsing all 57 articles
Browse latest View live

How do I get results in Views (Contextual Filters) regarded titles in URL?

I want the Views module to give me results by criteria of title of the node. I want to display all results from the nodes with the same title. So I used the Pathauto module, and put what is in title...

View Article


Create And in contextual Filter

I need to create AND in Contextual Filter, for instance: I Want to Get All English Node AND Italian Node, with particular Taxonomy. But I Can Have En and It, but even only en or only it, or even it, en...

View Article


Views Jump menu with taxonomy url and custom url

I have problem with jump menu and contextual filters. My idea is this: I have taxonomys (a,b,c) URL: example.com/a (this works fine with contex. filters) Then: example.com/a/hello This hello is my...

View Article

hide unpublished content in view, for everybody except the author

I’m trying to make a view of articles written by an author. I use the author UID from the URL as a contextual filter. I want to hide unpublished content from everybody except the author himself. I have...

View Article

Filtering commons browsing widget by user

I’m trying to filter commons browsing widget by user to add a posted content stream on every user page. I have tried adding a Contextual Filter for “Content: author uid” but had no luck. Is it even...

View Article


Image may be NSFW.
Clik here to view.

Taxonomy Term URL based on Panel Contextual filter path

I run a Drupal 7 website that is a multiple resort guide. I have set up a panel page based on 2 contextual filters. www.domain.com/resort/%1/things-to-do/%2 %1 = Taxonomy Term [Vocabulary:Resort] (term...

View Article

How to create a view with contextual filters and then make menus to filter it?

I have created a content type that I want to list and filter on taxonomy terms. For example I want to show all posts of that content type on the frontpage. Then I want to be able to create menu items...

View Article

Term name converted to term id filter removed?

I am currently working on a view that should show all items from a content type with the given taxonomy term name (not id) in the url. While this was easy to achieve in D7 (by following the answer on...

View Article


Drill-down contextual filtering

I’ve created a view called “Upcoming Events” that presents upcoming events in chronological order at the url /upcoming-events/all. Each event has associated tags. Currently my contextual filter is set...

View Article


Image may be NSFW.
Clik here to view.

How to ignore the first argument in view contextual filters?

I am having path aliases of the form path/val1/val2/data that are created with pathauto. I want to create a view that will be use a contextual filter and that will read only section 3 of the URL. When...

View Article

Image may be NSFW.
Clik here to view.

after submit button ajax lost the checked items

i have a problem. i have installed EntityReference View Widget, and i have created a table, and i added a exposed filter with a submit button: i check a item (exmple : generaliste) and i enter in the...

View Article

Views Log Error after upgrading to Drupal 7.43: “Undefined index: args in...

After upgrading from Drupal 7.41 to Drupal 7.43, I found that my Views are producing the following notice error when using PHP contextual filter code: Notice: Undefined index: args in...

View Article

Filtering list of nodes with attached views by taxonomy of node

I have a single article (page) which has an attached view thats displays a load of nodes (in a content called ‘courses’). These nodes have a term reference field called ‘language’ which assigns them to...

View Article


How can I filter a view according to another view's results

I have one view with two display: “latest news” and “populer news” I want show two block side by side like mashable.com. I can easily do that of course but one problem. There are same news both block....

View Article

How can I filter a view according to another view's results

I have one view with two display: “latest news” and “populer news” I want show two block side by side like mashable.com. I can easily do that of course but one problem. There are same news both block....

View Article


Image may be NSFW.
Clik here to view.

Drupal 7 Views Contextual Filter Override Title, but Make Singular

I have been able to setup a view that uses contextual filters that are taxonomy terms. The terms are categories and as such are written in the plural form, for example, “Posters” or “Flyers”. However,...

View Article

How to pass contextual filters in customer profile empty text?

I have a view displaying customer profiles. It takes 2 contextual filters : the user id and the type of the customer profile (billing/shipping). I want to add a no results behaviour, the “Commerce...

View Article

Browsing all 57 articles
Browse latest View live