Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: Spider search result error

Quote Reply
Re: Spider search result error In reply to
Hi Bachir,

I should of warned. The spider plugin is only called when there are no results. Thus, the template variables, spider_results and spider_hits are only set when that occurs. To ensure that the error doesn't occur try the following:

<%if spider_results%>
<%spider_results%>
<%spider_hits%>
<%endif%>

That code will test to see if the variables have been set and if so include them into the page.

Hope this helps,
Aki

Subject Author Views Date
Thread Spider search result error bachir 2356 Aug 31, 2001, 5:18 PM
Post Re: Spider search result error
kitsune 2243 Sep 4, 2001, 2:24 PM