Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-03 15:11:13

pims
New Member
Registered: 2006-03-03
Posts: 2

Recent articles list within section

Hi everyone – this is my first post and I apologize in advance if I break any rule this forum obeys. I’ve looked thru a certain quantity of post but can’t find the solution to my problem. Here’s my issue

I have a site (local server) which has 3 different sections.

My site |__ technology (section) —> list of recent articles that belongs to the technology section |__ sport (section) —> list of recent articles that belongs to the sport section |__ business (section) —> list of recent articles that belongs to the business section

I’d like to be able to list recent articles within their section and not a global list of recent articles. I thought it’d be simple.. (or I thought I was smart !)
That would be great if categories were not implied – I’d like to sort recent posts in every section according to the date

Thx for your help

— Tim

Offline

#2 2006-03-03 15:22:16

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

Re: Recent articles list within section

Welcome pims,

You could achieve your goal by simple using txp:article tag. (follow the link for the tag description and the attributes).

Txp:article is context-sensitive. That is, when in a article-list context (like frontpage of a section /sport/) it will output a list of articles, and when in individual-article context will output the article called by the URL.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-03-03 16:04:11

pims
New Member
Registered: 2006-03-03
Posts: 2

Re: Recent articles list within section

Thx Maniqui !

Sometimes it’s too simple to be true !

Offline

Board footer

Powered by FluxBB