Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Expiration Date for articles
I’ve looked through the list and don’t see this request, so…
I use Txp primarily as a CMS not for blogging, so I am very happy to have the ability to add articles with a future date so that they don’t appear until that date. I’d like to also, however, be able to assign a expiration date where the article will no longer appear after this date.
jerry
I don’t blame Congress. If I had $600 billion, I’d be irresponsible too.
Offline
Re: Expiration Date for articles
I admit when I first read this it seemed like a very specific need, and thus not the sort of thing I’d rush to put into the core program, but the more I think about it the more useful it seems – people have, for example, asked about using Txp for event calendars and such.
Look for it as an advanced article option in a future version.
text*
Offline
Re: Expiration Date for articles
Ahhh, lovely! I was just about to make a request for something like that!
I’m helping a friend with her website and she wants an event calender. one way to go about it would of course to include another open source tool to handle that, but it would be so much nicer to be able to administrate it within txp.
Right now the need is pretty simple…
post in the future, have a misc-form show the nearest due event in the sidebar, then have a page-listing of upcoming events, as well as an option to view archives…
If I get the time this weekend I’ll give it a try…
Offline
Re: Expiration Date for articles
Yeah this is a good feature… I’d love showing everything that’s expired in the “archive” only.
Offline
#5 2004-05-14 08:43:14
- Apfelsaft
- New Member
- Registered: 2004-05-08
- Posts: 2
Re: Expiration Date for articles
I too think that this would be a great feature, since the site i’m working on (a blog for network administration in a student dormatory) will have a lot of expiring messages like “The Network might be down on May 13”. Please implement it ;-)
Last edited by Apfelsaft (2004-05-14 08:49:41)
Offline
#6 2005-02-26 18:35:42
- brian.zerangue
- Member
- Registered: 2005-02-15
- Posts: 62
Re: Expiration Date for articles
Expiration Date for articles would be perfect! It definitely cure all the ills of doing an upcoming event calendar. Please, please, please consider this feature!
Is there any possibility that this advanced feature (expiration date for articles) could be included in the Textpattern 1.0 or upcoming RC3 release?
Offline
#7 2005-07-19 19:20:31
- loid
- Member
- Registered: 2005-03-09
- Posts: 38
Re: Expiration Date for articles
I also would find this feature extremely useful.
Offline
#8 2005-09-02 12:01:42
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: Expiration Date for articles
try <txp:article_custom time="future" section="events-xxxx-ample" />
should do what you want
Offline
Re: Expiration Date for articles
nardo -
unless I’m mistaken.. setting the time to “future” is dependent on the publish date being in the future… this prevents articles from being set to publish on a particular date and then expire on a different date in the future.
I am about to try out the plugin chh_article_custom —- however, it does seem like an expiration date feature would be worth adding to the txp core. As mentioned above, the option to set an expiration date would be of use to event calendars, posts that mention deadlines, etc.
just my two cents.
- Stacey
Offline
#10 2006-01-17 04:52:46
- nighthwk1
- New Member
- Registered: 2006-01-17
- Posts: 2
Re: Expiration Date for articles
The reason I (and probably many others) need this feature is for things like an Upcoming Events section. Currently, I’m able to use:
<code><txp:chh_article_custom form=“events” section=“seminars” sortby=“Posted” sortdir=“asc” listform=“events” time=”-1 day,+6 months” /></code>
However, it obviously requires changing the post date, (btw, TXP doesn’t let me specify a post date unless the article is already saved) which is confusing to the other people with copy edit access.
The other major problem is that RSS/Atom feeds won’t display these upcoming events, because they’re technically not published yet.
The only other CMS I’ve used extensively is Etomite, which has fields for creation, last edit, publish, and un-publish dates… which may be too much, but it all seems useful.
—
Jon
Last edited by nighthwk1 (2006-01-17 04:57:43)
Offline
Re: Expiration Date for articles
I’d like to add my voice to the request for an expiration field in TXP.
- Makes sense.
- Many other CMSs Iv’e used have it
- Makes calendaring simpler.
Please, Please, Please?
Offline
#12 2006-03-14 01:12:40
- Nell
- Member
- From: Mexico City, Mexico
- Registered: 2005-06-21
- Posts: 48
Re: Expiration Date for articles
I’d love to have this feature too. A client of mine posts events in his blog and he wants them to disappear when they end.
Offline