Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
no search result count
hi,
I was just trying the <code><txp:search_result_count text=“results” /></code> tag. It seems to work but it doesn’t output any number of results. I can not see any mistake in the code, so can you imagine what’s wrong?
The URL is http://ice-horse.de/textplates and it’s running in debug mode, so maybe someone can help me…
Birgit
Diagnosis:
Version Textpattern: 4.0.3 (r1188)
PHP-Version: 4.4.1
Hosting: all-inkl.com
Offline
#2 2006-02-20 15:15:17
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: no search result count
It’s because the <txp:search_result_count>
tag comes before the article tag, it doesn’t know what to count ;) You need an extra article tag with pgonly=1, read zem’s article.
Offline
Re: no search result count
ok didn’t know about that. thanks!
Diagnosis:
Version Textpattern: 4.0.3 (r1188)
PHP-Version: 4.4.1
Hosting: all-inkl.com
Offline
Pages: 1