Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-09-24 21:02:43
- freshface
- Member
- Registered: 2006-08-23
- Posts: 49
Display articles from last 2 months
How do I do that?
I use this code: <code><txp:article_custom form=“ss_nieuws” limit=“5” category=“nieuws” sortby=“Posted” sortdir=“desc” listform=“ss_nieuws” /></code>
Offline
#2 2006-09-28 12:03:40
- freshface
- Member
- Registered: 2006-08-23
- Posts: 49
Re: Display articles from last 2 months
nobody?
Offline
Re: Display articles from last 2 months
You need a plugin to do this. If you haven’t written a plugin before, the fastest way is probably to modify an existing plugin like rss_unlimited_categories, which already supplies an alternate articles tag. Writing it from scratch shouldn’t be much more work, because it really only requires a minor change to the article tag code (easy if you have a basic understanding of PHP and SQL).
Last edited by ruud (2006-09-28 13:11:30)
Offline
Pages: 1