Automated job for archive.
Permalink
Hi All,
I have created a blog page with blog entries pages under it. I also have four custom topics under a custom category which are displayed on the page through topics list block.One of the topics is archive.The requirement is if the current data is past a certain due date, then the blog entry pages should change its category from current to archive.
I saw in system and settings, we have something called automated jobs. How can we create that and also, how to change the category of pages.
Thanks.
I have created a blog page with blog entries pages under it. I also have four custom topics under a custom category which are displayed on the page through topics list block.One of the topics is archive.The requirement is if the current data is past a certain due date, then the blog entry pages should change its category from current to archive.
I saw in system and settings, we have something called automated jobs. How can we create that and also, how to change the category of pages.
Thanks.
I would take a look at the Automated Jobs section of the documentation.
http://documentation.concrete5.org/developers/jobs/overview...
Perhaps you can create a job that when run, loops through pages of a certain type and/or location, and based on the public date moves them to a new location.