OpenBayou Posted September 29, 2016 Share Posted September 29, 2016 Hello, Is there a way to delete posts based on a date? I'm thinking of switching to ProcessWire from WordPress and wondering if this can be accomplished. Thanks, Link to comment Share on other sites More sharing options...
BitPoet Posted September 29, 2016 Share Posted September 29, 2016 There's the option to publish/unpublish pages with the Schedule Pages module if you want to completely avoid custom code, though deleting/trashing pages based on a field value is just a few lines with the Lazy Cron module. 3 Link to comment Share on other sites More sharing options...
OpenBayou Posted September 29, 2016 Author Share Posted September 29, 2016 Good deal! Downloading and trying it on Vagrant. Thanks! Link to comment Share on other sites More sharing options...
pwired Posted September 29, 2016 Share Posted September 29, 2016 Is there still a lazy cron module somewhere for processwire 2.7.x or is the 2.8.x compatible with 2.7.x ? Link to comment Share on other sites More sharing options...
BitPoet Posted September 29, 2016 Share Posted September 29, 2016 23 minutes ago, pwired said: Is there still a lazy cron module somewhere for processwire 2.7.x or is the 2.8.x compatible with 2.7.x ? LazyCron is a core module, a compatible version should be in the wire/modules folder. 4 Link to comment Share on other sites More sharing options...
pwired Posted September 29, 2016 Share Posted September 29, 2016 Thanks BitPoet, I forgot that it could be found in the core 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now