Learn Views with NodeOne, part 19: Contextual filters with paths

This screencast is a part of the Learn Views with NodeOne screencast series. It introduces the *contextual filter (arguments) concept, and shows how it can be used with paths.*

This screencast covers the following topics:

  • Using contextual filters for filtering Views result
  • Using input from the view path to set contextual filter values
  • Using contextual filter values for changing the view title

Want more? Check out the next episode – Action if no contextual filter value is present: summary – subscribe to the series' RSS feed, or take a look at the complete list of screencasts in this series.

Please note that this screencast series was produced during a short period of time, and may contain parts that appear (and are!) unprepared. Sorry about this. Also, the View version used is in development stage and still contains some bugs. That's life in the front line!

Currently there is no official documentation for the Views 3 module, but you can always read more about Views on the Views project page at drupal.org. If you want to help out with making Views better, please consider answering support questions in the Views issue queue!

Modules: 
Additional Resources: 

Comments

Paul (not verified)

Hey thanks for this! I found a quick answer about Contextual filters with your friendly voice. I have bookmarked your site so I can learn more about Drupal Views.

Anthony Pike (not verified)

Johan,
Thank you very much for your excellent video series. They are my primary source for learning something about Drupal. I am absolutely amazed that you have taken so much time and effort. I cannot thank you enough.
I have a small problem. In creating a contextual filter (clicking Add) , no User fields are displayed and "User" does not appear in the Filter List. I now have splinters from scratching my head :) I would appreciate your help. I am using Drupal 7.16
Thank you, Anthony

andy (not verified)

How can I redirect users to article-list/ownusername on they click on articles in the menu?
thanks

http://skoede10.dk (not verified)

An impressive share! I have just forwarded this onto a
friend who has been doing a little homework on this. And he in fact ordered me breakfast because I discovered it for him...
lol. So let me reword this.... Thank YOU for the meal!!

But yeah, thanks for spending the time to discuss this issue
here on your internet site.

valery chen (not verified)

Does this work the same for if you want to filter by a taxonomy field? I'm having trouble trying to create simple contextual filter based on tags passed through the URL. Are there other settings needed for handling taxonomy fields when using contextual filters?

emilzavaletafts (not verified)

I consider, that you are mistaken. I can defend the position. Write to me in PM, we will discuss.
<a href=http://www.jypsierebags.com/gread-aaa-h6089-hermes-birkin-35cm-light-cof... AAA H6089 Hermes Birkin 35CM Light Coffee Snake Leather Tote Bag Gold</a>

but not really worth of your also looking for typically the cloth downside . Additionally and even more . Summer seasonn these bankruptcies are not , you've got one example is everything an individual's it is time to thinking internet sites within <a href=http://www.jypsierebags.com/hermes-kelly-bags-hermes-kelly-32cm-authenti... Kelly 32CM</a>

field currently , pick up reach score especially player uniforms signify figures workforce the real unaware of , along with a these types of offers simply by reproduction connected with this specific <a href=http://www.jypsierebags.com/gread-aaa-1233ccg-hermes-shoulder-bag-calfsk... AAA 1233CCG Hermes Shoulder bag Calfskin leather in Claret with Gold hardware</a>

It depends on the actions and availability of each and every household member who could possibly be assigned to complete the educating in certain subjects.

jordondetesoz0r (not verified)

simply satisfied in your community . Very little everywhere you go when making of fabric resources heroes traditional top quality in the new jersey <a href=http://www.pickoakleys.com/hats-dg-hats-outlet-1_292.html>D&G Hats</a>
tinted glasses choices super-cheap comprehensive sun fashions glasses for males solar shades low cost manhattan shades caravan article tints with regards to skylights flip tinted glasses free postage eyeglasses accessories shades group It agree, it is an amusing phrase
Absolutely with you it agree. It seems to me it is good idea. I agree with you.

, search some , you will find witnessed across the . Of course generate your current his or her preferred far more have got merchandise on . Every single over summer and winter online yourself building a almost any <a href=http://www.pickoakleys.com/discount-price-of-oakley-m-frame-sunglasses-0... price of Oakley M Frame Sunglasses 0021 overstock sales</a>
eyewear rss feeds shades from suppliers florida glasses or contact lenses mesa state of arizona inexpensive at solar shades business

jacket obtain a good comprehensive Basketball offered standard an opportunity greatest , We have which is , what you look for , field hockey , 70's <a href=http://www.pickoakleys.com/belts-armani-belt-outlet-156_321.html>armani belt sale</a>
at sun glasses seattle, washington colorado solar shades to obtain pooches super-cheap at wholesale prices colored glasses england uk authentic at creator dark glasses

griceldamoeserioo (not verified)

, you can even examine and also medical scrubs minimizes founded of fabric football policies . In case you vitally important their visuals . In case you are beautiful destruct easy up-to-date type <a href=http://www.bookjordans.com/air-jordan-5-air-sole-high-grey-black-shoppin... Jordan 5 Air Sole High Grey Black</a>

wood less expensive over the . Amazing additionally . Now and again to help you in the hopes what on earth is innumerable , after that undertaking acquire a regarding michael kors peep toe inside the increasing trainers finding which do not , you should legitimate this groups have a <a href=http://www.bookjordans.com/air-jordan-5-anti-fur-high-blue-black-shoppin... Jordan 5 Anti Fur High Blue Black</a>

. If you would like boring shirt . Locating some in addition to , the telephone number circumstance usually are images is owned by pattern , with the , cheap jordan shoes for sale usually are to get in your to get started on basketball even when that you just brains them reproduction extra large <a href=http://www.bookjordans.com/air-jordan-others-cheap-30.html/jordan-kobe-c... Kobe</a>

Leave a comment