Page 1 of 1

search function

Posted: Thu Mar 11, 2010 2:06 pm
by danst0
Hi,

is it possible to log the searches done with the search plugin? Is there a way to see those logs?

Thank you,

Daniel

Re: search function

Posted: Thu Mar 11, 2010 4:20 pm
by garvinhicking
Hi!

Yeah, one could write a simple event plugin that listens to the frontend_configure header, check if $serendipity['GET']['searchTerm'] is set and then log that variable to a file or database.

But you can also use a logfile analyzer; search requests are performed via GET, so it's contained in the logs and you could evaluate them...

HTH,
Garvin