
Donna
Staff
/ Moderator

Jan 23, 2009, 2:17 PM
Post #4 of 9
(2770 views)
Shortcut
|
|
Re: [nigelparry.net] Possible to have articles auto publish at a future date?
[In reply to]
|
Can't Post
|
|
Hi Nigel, Hmm, interesting idea! I fiddled around with this a bit, and ... the hard part was finding a date to compare it to. Best I could come up with was the "last updated" date. So, I did this: <!-- templateIf : $_lastupdated:format(yyMMdd)$ >= $article.date:format(yyMMdd)$ --> This content is generated if true. <!-- /templateIf --> ...and it works. But, one very annoying caveat: Since it's going off of the "last updated" date, the value will only update if you modify an article. So, if you want an easy way to make a bunch of articles go live at once, it's not a bad solution. If you want something that automatically updates daily, it's ... not the greatest. That said, if you can find a better way of getting it to generate today's date, instead of just the last updated date, then you've got a pretty decent solution. :) Donna -- support@interactivetools.com
|