By alextorpey on
So archiver isn't compatible with 6.2 and to my understanding the "archive" module doesn't actually physically archive anything, it just organizes it?
Does anyone know if there is a new module that can actually automatically archive older items? Or maybe there is a way to do that easily through actions or triggers?
Thanks!
Comments
=-=
views.module
I guess you want to
I guess you want to unpublish old nodes in Drupal 6 after some lifetime, or move them elsewhere.
There is the scheduler module, but it won't do because it only accepts a specific expiration date.
You could probably use the http://drupal.org/project/rules module (an enhanced replacement of the core trigger module) and at the event of a cron run you could trigger some php code which looks for old published nodes (let's say 10 each time) and if there are any it unpublishes them. Or unpromotes them and (re)tags them with a different category if you want to maintain an archive.
The views module could also achieve something similar, if it is the only way which you use for listing content. For example, you could include in *all* your views a filter to display only nodes that their creation date is greater (more recent) than a week ago.