Closed (fixed)
Project:
Search Autocomplete
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Nov 2007 at 21:58 UTC
Updated:
28 Nov 2007 at 21:51 UTC
Could autocompletion be added to the Search Block as well.
I have used this to put a search in my navigation menu.
This could use the same permissions and settings as the theme search box.
Adding the following code in search_autocomplete_form_alter after the
search_theme_form code would acheive this.
if ($form_id == "search_block_form") {
$form["search_block_form_keys"]["#autocomplete_path"] = "search_autocomplete/autocomplete';
}
Comments
Comment #1
bonvga commentedHi,
It's a good idea ! I've commited your path and added an entry for it in the control panel (http://drupal.org/cvs?commit=88037)
Thanks a lot.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.