I want to group my nodes into active and expired based on a date field. Currently I have the view set to group by this field but I don't want the active and expired groups to be broken down into specific dates such as 2 weeks, 3 days etc. I just want two groups, active and expired. How can I do this? An example of what I currently have http://www.glumbo.com/deals/footlocker.com-deals

  • You know what really sucks? Posting the same question on multiple places without waiting for a real answer! – Daniel Wehner Aug 5 '11 at 22:12
  • What's wrong with that? – Matthew Hui Aug 5 '11 at 22:32
  • Because you could cause take time from two different people. At least from my perspective it's some kind of respect to the freetime of other people. – Daniel Wehner Aug 6 '11 at 8:45
  • I didn't think of that. I'll be more considerate next time – Matthew Hui Aug 6 '11 at 8:58

I used this module to accomplish this http://drupal.org/project/views_customfield. It allows you to define a new views field using custom php code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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