Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-02 03:23:08

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

Sticky articles not included in search

The current search SQL includes <code>Status = 4</code> in the <code>WHERE</code> clause, thus sticky articles are not included in the search. Is this by intention? I would suggest that it at least be made a configurable option; there may be some sites where it’s useful to search sticky articles.

-Kurt

Last edited by KurtRaschke (2005-12-02 03:23:34)


kurt@kurtraschke.com

Offline

#2 2005-12-30 14:45:04

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: Sticky articles not included in search

Agreed. Just noticed that too, could be annoying..

Kurt: Did you manage to get results with Stickies when changing the WHERE clause? I didn’t..

/Anton

Last edited by Anton (2005-12-30 14:51:39)

Offline

#3 2005-12-30 22:15:30

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Sticky articles not included in search

With 4.0.3, try <txp:article searchsticky=1 />.


Alex

Offline

#4 2005-12-30 22:55:59

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Sticky articles not included in search

Does the searchsticky attribute work with <code><txp:article_custom /></code>, too?

Offline

#5 2005-12-31 00:42:52

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: Sticky articles not included in search

Does the searchsticky attribute work with <code><txp:article_custom /></code>, too?

article_custom doesn’t return search results.

Offline

#6 2005-12-31 01:59:28

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Sticky articles not included in search

Ah, thanks, takshaka.

Offline

#7 2006-01-27 23:58:27

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Sticky articles not included in search

Good to know about search sticky. Is there a way to make rss_live_search also search sticky articles?

Thanks


bludrop studios .::. Creative Expression

Offline

Board footer

Powered by FluxBB