Hi all,
We have an ever growing site, and me as admin doesn't have a brain that grows along with it!! What would be ideal is the ability to set the expiry date of a page, not entirely dissimiliar from the way news articles work. However I don't want the page content to disappear. So when the date is up (or a few days before) I get an email.
The problem I have is that pages are being left with old content that is out of date. Ideally I'd like an automated system which reminds me to update the site when needed. Any ideas folks?
Set page expiry date and notify admin
Re: Set page expiry date and notify admin
Possibly you can put in every page a little tag that takes a date as parameter. When the page is called the tag is runned and in the tag you compare the date with the actual date. If the actual date is smaller then the parameter you send an e-mail to your self with the page title.
Problem of this is that the page must be viewed before a mail can be send.
Hope it helps,
Christophe
Problem of this is that the page must be viewed before a mail can be send.
Hope it helps,
Christophe
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Set page expiry date and notify admin
Each page has a 'last modified date' attribute. It would be possible to write a module that notifies you if a page hasn't been modified in a certain number of days. Also it would be possible to exclude certain pages from the notification.
Nothing exists in CMS to do this yet, but it's not technically difficult to do. This would have to be an external script that was executed by cron or something though in order for it to work properly.
Nothing exists in CMS to do this yet, but it's not technically difficult to do. This would have to be an external script that was executed by cron or something though in order for it to work properly.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.