Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-20 14:58:56

BZ
Member
From: Stuttgart, Germany
Registered: 2005-11-24
Posts: 65
Website

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

#3 2006-02-20 15:41:10

BZ
Member
From: Stuttgart, Germany
Registered: 2005-11-24
Posts: 65
Website

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

Board footer

Powered by FluxBB