Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-03-12 13:14:00
- leafy_loader
- Member
- Registered: 2008-09-25
- Posts: 96
If one article displayed
I thought this would be quite a simple thing to do but several hours later I’m not so sure…
I want to detect wether only one article is displayed. I’ve been playing around with the <txp:search_result_count /> tag and some custom php code but can’t get it to work.
Basically, I list all the articles under a section then when the user clicks on the article title the article is displayed on its own. It works fine in the articles list phase but when I click through to a specific article the number of articles is not detected.
Is there a standard way of doing this simple task?
Offline
#2 2011-03-12 17:13:32
- leafy_loader
- Member
- Registered: 2008-09-25
- Posts: 96
Re: If one article displayed
Doh! <txp:if_individual_article>
Offline
Pages: 1