Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-10-03 00:06:00
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
ras_dates Posting date conditionals
This is a plugin inspired by jayrope’s aaa_dates, the general idea has remained the same with the same three tags current, past, and future articles.
The changes include an attribute “setdate” to set desired dates, and an “offset” attribute for the tag intended for the current day.
The idea is to return article content conditionally based on posting date. Given default behaviors and attribute choices I think the point has been accomplished reasonably well. Give them a try and let me know how things work and what might improve them. (TXP Version 4.0.3 and above)
Offline
#2 2006-10-03 23:25:59
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: ras_dates Posting date conditionals
great work rsilletti & jayrope!
Offline
#3 2006-10-04 03:06:14
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: ras_dates Posting date conditionals
thanks nardo, sorry it took so long to get them right.
Offline