Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-08-11 11:11:41
- blogfruit
- New Member
- Registered: 2005-02-24
- Posts: 2
Is it possible, to make an article expire?
Hi,
my Question is in Subject. I can do make the start later. But i will do make the article expire.
Can anyone help me?
Greetz
Alex
Last edited by blogfruit (2006-08-11 11:12:44)
Offline
#2 2006-08-11 11:32:47
- bancroft
- Member

- Registered: 2005-09-30
- Posts: 39
Re: Is it possible, to make an article expire?
Hi Alex,
I think the easiest way would be to add <code>time=“future”</code> to the <code><txp:article/></code> tag and set the article date as the day you wish it to expire.
Not sure if this would mess with your start date setup though?
Graham.
Last edited by bancroft (2006-08-11 11:33:50)
Offline
#3 2006-08-11 23:40:02
- blogfruit
- New Member
- Registered: 2005-02-24
- Posts: 2
Re: Is it possible, to make an article expire?
Hi
Thx Graham! It works fine!
But if someone use this i suggest that u add this after installation or u dont have many articles ;) . otherwise for articles they not have to expire must set the date to 2037 ( year ). if you use 2038 the date switch to 1970 an the article is invisble. it is also possible thats a configurefact for your database or webserver.
I use 2037.
Thx and Greetz forn Dresden, Germany.
Alex
Last edited by blogfruit (2006-08-11 23:42:25)
Offline