Closed (works as designed)
Project:
Top Searches
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2008 at 16:35 UTC
Updated:
24 Jun 2008 at 16:44 UTC
I installed and enabled the module. The top_searches table was created, but no rows are being inserted as I do searches. My search form is a view with an exposed filter on the search index, into which users may enter search terms. (Not the standard Drupal search block.) Is that the problem?
Comments
Comment #1
z.stolar commentedIndeed.
We are currently firing the action, to add searches to the DB, when the search form is submitted (using form_alter).
Former versions of this module, used a preprocess hook, which was insufficient.
You can achieve the same action, by also using hook_form_alter, on your form. See the example within the module.
If you want your solution to be included in future versions of this module, please propose it here.