Member
Member
madman   2011-03-07, 19:24
#1

Hello!

just upgraded to the most recent Version 1.4.0.2, now the search is much better than in Version 1.2.3 which I had before.

But there is one thing, i don't like:
after eyery search I have to hit the "clear search" button before i can search again for other keywords.

Is there any way to autodelete the search cache after every search, so i don't have to click the button all the time?

Thanks!

Member
Member
madman   2011-03-07, 20:07
#2

Sorry for the double-post, but i found a solution:

I wanted to get the search cleared after every single search so i putted: into my search.php - that works now for me

but... I guess that this is not very nice?
are there other (better) ways to do that?

Administrator
Administrator
acrylian   2011-03-07, 20:29
#3

To clear the search cache please see:
http://www.zenphoto.org/support/topic.php?id=8809#post-51941

Member
Member
madman   2011-03-07, 22:11
#4

Thanks,

but I've already found that answer before, but it did not work for me.

I putted it between tags before the call on printSearchForm() but then the search don't work at all.

Member
Member
sbillard   2011-03-08, 01:03
#5

Your above solution is fine. I suppose we could have an option as to if searches within searches are allowed. But you are the first that wished to prevent that.

Member
Member
madman   2011-03-08, 12:17
#6

thank you, sbillard!

Then I will keep this onload event in my search.php and wait until you include this feature in a future release.

But as long as it works with the onload event I wont mind anyway.

Thanks for your help an time and of course for making this great gallery!!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.