Hi all. I need to store, for a later analysis, what user write in the search box. I have searched on Google, but I have found only how to intercept and modify the output of the search. Tnx. -- Michel 'ZioBudda' Morelli michel@ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: michel@ziobuddalabs.it JABBER: michel@gmail.com
On Wed, 30 Jan 2008 10:43:42 +0100 Davide Michel 'ZioBudda' Morelli <michel@ziobudda.net> wrote:
Hi all. I need to store, for a later analysis, what user write in the search box. I have searched on Google, but I have found only how to intercept and modify the output of the search.
Look in the watchdog table. -- Ivan Sergio Borgonovo http://www.webthatworks.it
Ivan Sergio Borgonovo ha scritto:
On Wed, 30 Jan 2008 10:43:42 +0100 Davide Michel 'ZioBudda' Morelli <michel@ziobudda.net> wrote:
Hi all. I need to store, for a later analysis, what user write in the search box. I have searched on Google, but I have found only how to intercept and modify the output of the search.
Look in the watchdog table.
Tnx, but how watchdog do it ? Is the search.module that does a watchdog() call or the watchdog module intercept it ? Tnx. -- Michel 'ZioBudda' Morelli michel@ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: michel@ziobuddalabs.it JABBER: michel@gmail.com
On Wed, 30 Jan 2008 11:16:08 +0100 Davide Michel 'ZioBudda' Morelli <michel@ziobudda.net> wrote:
Ivan Sergio Borgonovo ha scritto:
On Wed, 30 Jan 2008 10:43:42 +0100 Davide Michel 'ZioBudda' Morelli <michel@ziobudda.net> wrote:
Hi all. I need to store, for a later analysis, what user write in the search box. I have searched on Google, but I have found only how to intercept and modify the output of the search.
Look in the watchdog table.
Tnx, but how watchdog do it ? Is the search.module that does a watchdog() call or the watchdog module intercept it ?
I think the former... watchdog is not psychic. Did you build up your own search facility based on drupal api? so... why not make a call to watchdog too? Otherwise the stuff you're looking for is already there and knowing how it reach watchdog is purely academic for the problem you were trying to solve. grep and api.drupal.org helps a lot generally. Don't forget to run cron.php otherwise the search won't work as you may expect. -- Ivan Sergio Borgonovo http://www.webthatworks.it
participants (2)
-
Davide Michel 'ZioBudda' Morelli -
Ivan Sergio Borgonovo