Nancy

 

Assuming you need to do it with PHP (I'd need to think about whether it could be done otherwise), you could have a PHP field using Views PHP, http://drupal.org/project/views_php

 

My first reaction was a view that had a date filter that selected the last two weeks.

 

Gregg Marshall, CPMR, CSP, CMC

 

From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Nancy E Wichmann
Sent: Wednesday, November 30, 2011 10:35 AM
To: support@drupal.org
Subject: [support] New/Modified Flags With Views

 

I need to flag nodes that were created within the last two weeks or modified within the last two weeks (created takes precedence over modified). I’m drawing a blank on how to do this in Views 3. “Rewrite results” is just a text field, not PHP.

 

Nancy

 

Sometimes the answer is easy and the question is complicated. -- Dr. Seuss