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

Neozonz’s picture

I too am looking for an answer on this...

cfmcoder’s picture

I 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.