Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-16 09:56:08

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

what's wrong in that search results form?

<txp:if_search>
<h3>Search results</h3>
<p><txp:search_result_count />.</p>
</txp:if_search>

<h3><txp:permlink><txp:title /></txp:permlink></h3>
<p><txp:search_result_excerpt /><br/>
<small><txp:permlink><txp:permlink /></txp:permlink> &middot;
<txp:posted /></small></p>

it repeats “Search results” at the beginning of every excerpt right now.

Offline

#2 2006-10-16 10:04:56

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: what's wrong in that search results form?

I think only the bottom half should be in the search results form, the top half should be in the template.

Offline

#3 2006-10-17 00:14:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: what's wrong in that search results form?

Yes, the top portion should be in your page.

Offline

#4 2006-10-17 12:11:31

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: what's wrong in that search results form?

Mary wrote:

Yes, the top portion should be in your page.

much better now, thanks, but…in some reason it doesn’t show the founded articles number anymore :(

Offline

#5 2006-10-18 03:41:35

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: what's wrong in that search results form?

Do: <p><txp:article pgonly="1" /><txp:search_result_count />.</p>

Offline

#6 2006-10-21 12:19:22

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: what's wrong in that search results form?

Mary wrote:

Do: <p><txp:article pgonly="1" /><txp:search_result_count />.</p>

thank’s Mary.

Offline

Board footer

Powered by FluxBB