Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a view and I want to show filtered posts passing arguments via the URL. Example:


I want to show all press posts created in January'2012.

How can I do that ?

share|improve this question
Check out Taming the Beast at nodeone.se (dev.nodeone.se/en/taming-the-beast-learn-views-with-nodeone) for an excellent and comprehensive tutorial on all things Views. – Ashlar Mar 24 '12 at 21:29
FYI, in Drupal we call it argument. arg – niksmac Jun 22 '12 at 3:46

Take a look at the core Views example Archive (admin/structure/views/view/archive/edit) which is disabled by default.

share|improve this answer

You need to use Contextual Filters in order to pass arguments to the view.

share|improve this answer

Your Answer


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.