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

bonvga’s picture

Assigned: Unassigned » bonvga
Status: Active » Fixed

Hi,

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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.