Forums / Developer / Custom Search Probelm

Custom Search Probelm

Author Message

Alessandro Malizia

Wednesday 03 October 2007 1:14:31 am

Hi at all, i'm using Ez version 3.9.2 for create a website.
But i've a big problem, i've add a custom search box for a subtree search, using the instructions of this link:

http://ez.no/ezpublish/documentation/customization/components/search/custom_search_box

Now the problem is that when i try the first search, it visualizes to me the resultes exact, but when i try again a new search, it visualizes to me the previous resultes, with the "search text" of the previous search.

It seems to be a cache problem because if i clear cache in the administration interface, and i do again the search there isn't problem. That come before again in i try a second search without clear cache.

Anyone have the solution of this problem?

I have tried with this string:

{set-block scope=root variable=cache_ttl}0{/set-block}

but it doesn't work

HELP ME PLEASE!!!

Daje ROMA Daje!!!