Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2017-11-13 10:33:19

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 307
Website GitHub GitLab Twitter

Re: Incomplete search

Yes, before txp:article and after txp:article pgonly:

				<txp:if_section name="">
			<txp:if_search><txp:article pgonly="1" limit="25" />
<h2>Radybos</h2>
		<txp:if_search_results min="0">
<p>Jūsų užklausta ištrauka <strong><q><txp:search_term /></q></strong> yra šiuose tinklapiuose:</p>
	<txp:article searchsticky="1" limit="25" wraptag="dl">
<dt><strong><txp:search_result_title /></strong></dt>
<dd><txp:search_result_excerpt /></dd>
	</txp:article>
		<txp:else />
<p>Užklaustos <strong><q><txp:search_term /></q></strong> ištraukos &nbsp;</p>
<p>NĖRA</p>
		</txp:if_search_results>
			<txp:else />
(... news on a front page ...)
			</txp:if_search>
				</txp:if_section name="">

Offline

#14 2017-11-13 10:35:01

etc
Developer
Registered: 2010-11-11
Posts: 5,057
Website GitHub

Re: Incomplete search

See above :-)

Offline

#15 2017-11-13 10:41:50

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 307
Website GitHub GitLab Twitter

Re: Incomplete search

You are right, thanks for explanation — searchsticky="1" was in txp:article only, not in txp:article pgonly. Corrected, all goes fine, thank you.

Offline

Board footer

Powered by FluxBB