views:

48

answers:

1

Hi !

Is there a module that allows me to log all the searches made on a view ?

Thanks !

A: 

I think you will need to write custom code to achieve that! I'm assuming you know some basics about writing Drupal custom code. You will need to use a hook that gets called before your view is displayed. In the hook you should log whatever information you want e.g. the keyword that was entered in the exposed filter.

Please see http://drupalcontrib.org/api/group/views_hooks/6 for the hooks that are available to you in Views.

I'm guessing you would probably use something like hook_views_pre_render

Sid NoParrots

related questions