Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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 </p>
<p>NĖRA</p>
</txp:if_search_results>
<txp:else />
(... news on a front page ...)
</txp:if_search>
</txp:if_section name="">
Offline
Offline
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