I am looking for the ability to define how long the "updated" flag shows. I don't see it in Admin->Setup->Build Options, where the control for New and popular are. Can you tell me how to change the amount of time Updated shows?
Feb 12, 2003, 7:29 AM
Veteran / Moderator (6956 posts)
Feb 12, 2003, 7:29 AM
Post #2 of 3
Views: 1074
As I suspected, it uses the build_new_cutoff date, just like isNew
You can modify it -- by hard coding -- in the Build.pm
sub build_changed_flags
routine. Just change the $CFG->{build_new_cutoff} item to some other value.
my $date = GT::Date::date_sub ( GT::Date::date_get(), $CFG->{build_new_cutoff} );
my $date = GT::Date::date_sub ( GT::Date::date_get(), 4 );
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
You can modify it -- by hard coding -- in the Build.pm
sub build_changed_flags
routine. Just change the $CFG->{build_new_cutoff} item to some other value.
my $date = GT::Date::date_sub ( GT::Date::date_get(), $CFG->{build_new_cutoff} );
my $date = GT::Date::date_sub ( GT::Date::date_get(), 4 );
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.