Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

How do you structure and use arguments in a view using the Views UI in Views 3

share|improve this question
5  
This is a very vague question. Can you give some more background or details. If you just need to learn how to use arguments in views install the advanced_help module and it will give you access to the views documents. Also if you do some research you will find tons of docs and videos. – junedkazi Sep 21 '12 at 4:58
what I am trying to do is create a block with dynamic information of profile2 fields. I am trying to set the default argument to a specific profile id or taxonomy in the profile fields. – Sun Rhythms Sep 21 '12 at 5:06

1 Answer

up vote 0 down vote accepted

Arguments in Drupal 7 are the same as contextual filters. Contextual filters are associated with the path of the view (or the view's page). With these, we give a basic determining factor as to how we want to narrow down the view's output. It can be set up on what ever you want it to be. One of the simple ways to do it is by content type or user name. Check out this page it explains it well. http://drupaleasy.com/blogs/ultimike/2009/07/using-views-relationships-arguments-attachments. I also found these vids while searching on relationships and contextual filters (arguments). Check them out they put a lot of things in perspective and teach you how to use them both.

Drupal 6:
http://gotdrupal.com/videos/drupal-views-relationships
http://drewish.com/node/127

Drupal 7:
http://vimeo.com/22100751

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.