Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-10-07 14:17:45
- ctrl4ltdeleteme
- New Member
- Registered: 2008-10-07
- Posts: 2
Conditional or txp variable for counting articles
Hello,
Is there a conditional which has the same effect as <txp:if_search_results max="0">
only for articles instead of search results?
Also, a txp built-in variable that kept track of the same thing would work for my purposes.
I’ve looked around and found a few plugins but none of them seem to be conditional, they are for returning the count of articles.
Offline
#2 2008-10-07 14:27:55
- ctrl4ltdeleteme
- New Member
- Registered: 2008-10-07
- Posts: 2
Re: Conditional or txp variable for counting articles
Hah, I’m retarded. http://textpattern.org/plugins/732/pm_if_no_articles
This plugin actually does everything I want it to but it doesnt take into account the current section of the page, is there another way to reference that?
Last edited by ctrl4ltdeleteme (2008-10-07 15:22:58)
Offline
Re: Conditional or txp variable for counting articles
maybe chh_if_data can help you!
Cheers
Offline