Drupal Exposed Views Filter custom date

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-06-15T21:50:56Z Indexed on 2010/06/15 21:52 UTC
Read the original article Hit count: 226

Filed under:
|

I have a date filter that I have exposed on my view. I want to make the interface more user friendly and tighten up the look of it. Instead of selecting a date I would like to select from the following options.

  • The last day
  • The last week
  • The last year
  • All

This would then filter on the date field. Is this possible? How would you go about doing this?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-6