Page 1 of 1

Search: How to trigger error on purpose

Posted: Tue Oct 13, 2009 11:45 pm
by yellowled
I'm puzzling around here, and right now, I'm playing with the search function, or it's emission through content.tpl, to be exact.

.searchresult_results, .searchresult_tooShort, and .searchresult_noEntries are pretty easy to emulate, but how do I trigger .searchresult_error on purpose? Any ideas?

YL

Re: Search: How to trigger error on purpose

Posted: Wed Oct 14, 2009 8:19 am
by kleinerChemiker
maybe if you delete the fulltext index in mysql

Re: Search: How to trigger error on purpose

Posted: Wed Oct 14, 2009 12:34 pm
by yellowled
I won't do that, but I remember seeing that one before. Believe it or not, this is actually all I needed. Thanks :)

YL