Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-09-29 22:28:46

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: simple article status display problem, need help

ok then so the <txp:if_individual_article> tag is only going to display one article no mater how many <article /> tags with what ever attributes you have below it. Makes sense. thanks again for your patience.


its a bad hen that wont scratch itself.
photogallery

Offline

#17 2009-09-29 22:37:13

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

Re: simple article status display problem, need help

Not exactly.

If you have this

<txp:if_individual_article>
<txp:article />
<txp:article />
<txp:article />
</txp:if_individual_article>

You are going to get the corresponding article (the one corresponding to the URL —the individual article permlink— you are visiting) listed three times.

The snippet Els posted will work because <txp:article /> is the same as <txp:article status="live" /> (in other words, status attribute defaults to 'live').


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#18 2009-09-29 23:11:37

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: simple article status display problem, need help

ok so as long as the status of each article tag is different only one article will be displayed.
cheers.


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB