Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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').
Offline
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