Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-08-04 19:16:07

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: Expiry Date for articles for basic event management?

rsilletti wrote:

I’ve adapted some of the plugins you’ve been looking at above to run with this mod as well. Plugin.zip

Many thanks! :D


Cheers,
Jon VC#9

Offline

#14 2007-08-05 08:00:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Expiry Date for articles for basic event management?

wet wrote:

Yes, it has a tag <txp:expires /> which clones <txp:posted /> in all aspects. Plus, there’s a conditional <txp:if_expires>, which checks for the presence of an expiry date to produce output depending on that fact.

Robert, this looks very interesting!… I’m really looking forward to it!
So what happens if an article is ‘expired’?
Does it change its status?
Can you provide us with a coupe of examples?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#15 2007-08-05 09:41:47

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Expiry Date for articles for basic event management?

Similar to ‘posted’, really. An article doesn’t change status when the ‘posted’ date is reached nor does it change status when the ‘expired’ date is reached. Both dates are just used as restrictions on which articles to show: show articles with status = live and posted < now and expired > now

Offline

Board footer

Powered by FluxBB