Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-07 03:19:35

Papajohn56
New Member
Registered: 2006-04-06
Posts: 6

List articles within a section, in order of date?

I want to make a page that lists each article in a section, but does so by date. I’m not sure what to do with this, I haven’t found anything in the Wiki of how, or maybe I’m not understanding. Thanks

Offline

#2 2006-04-07 03:53:03

Papajohn56
New Member
Registered: 2006-04-06
Posts: 6

Re: List articles within a section, in order of date?

Also, I am in the mode of index.php?id=messy

Offline

#3 2006-04-07 03:57:22

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: List articles within a section, in order of date?

hi Papa

Depending how and where do you want to display your articles, you can use txp:article or txp:article_custom

For example:
<txp:article sortby="posted" sortdir="asc" />
or
<txp:article_custom section="sectionname" sortby="posted" sortdir="asc" />

BTW, have you already read the FAQs, especially the Common ‘How do I?’ questions faq ?

You will find very useful information in that FAQ.

Last edited by maniqui (2006-04-07 03:57:38)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB