Active
Project:
Auto Expire
Version:
6.x-1.0-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2010 at 14:14 UTC
Updated:
4 Nov 2010 at 11:53 UTC
Hi
Great module. Does what is says on the tin, and does it well.
One query. Is there a way to force the auto expiry rules for a content type to apply to some or all nodes that were created prior to the auto-expire rule being switched on ? I have tried updating an existing node by hand but this doesn't seem to be the answer.
Thanks again,
Dave
Comments
Comment #1
Neozonz commentedI too am looking for an answer on this...
Comment #2
cfmcoder commentedI ran a query like the following to update the auto_expire table with exiting rows:
insert into auto_expire (nid, expire)
SELECT nid, created + 25 * 24 * 60 * 60 FROM node where type = 'ad'
This was for a content type called 'ad', and sets expiration date to 25 days after the time that the node was created.