Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
Re: Sticky articles not included in search
Does the searchsticky attribute work with <code><txp:article_custom /></code>, too?
Offline
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
Re: Sticky articles not included in search
Ah, thanks, takshaka.
Offline
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
Pages: 1