Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
New Tag?
Do we have a <txp:if_article_status /> tag?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: New Tag?
No (although that depends on the definition of ‘we’)
Offline
#3 2007-10-07 00:58:41
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: New Tag?
If not – I’ll build one. What, specifically, would you like it to do, and under what circumstances?
Last edited by rsilletti (2007-10-07 01:58:10)
Offline
Re: New Tag?
You can probably use the txp:article tag to do the same thing.
Offline
#5 2007-10-07 13:05:41
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: New Tag?
Ehm… damn I can’t remember the exact scenario but I’m sure in some specific situations I was looking badly for a tag like this.
Apart from that it could still be useful, for instance, in order to use just a single article form for both sticky and live articles…
Offline
Re: New Tag?
Errm. I’ve forgotten why I asked this now. :(
Whatever the reason I’ve obviously either worked around it or changed the situation somehow.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: New Tag?
OK. I went and checked the site I was working on at the time.
On the front-page of a section there is a “sticky” article. Assuming that the title is permlinked, when you get to the individual view you get a blank page (content not the whole page) because the normal article tag used in individual view doesn’t display stickies. Now you can add another article tag which is set to display a sticky but you only want one article tag to operate, hence my asking the question in the first place.
At the moment I’ve changed the situation by not having the permlink.
EDIT: Or could the “status” attribute take a comma-separated list. That would do the same thing methinks.
Last edited by thebombsite (2007-10-09 12:31:35)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: New Tag?
Hi Stuart,
I think this may help you: http://forum.textpattern.com/viewtopic.php?id=12784
Offline
Re: New Tag?
Thanks Julian. Does it’s own filtering eh. Very good. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline