Search: How to trigger error on purpose

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Search: How to trigger error on purpose

Post 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
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Search: How to trigger error on purpose

Post 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
Post Reply