You are here

README.txt in Autocomplete Search Suggestions 7

Module: Suggestion
Author: bkelly bill@williamakelly.com

CONTENTS OF THIS FILE
====================
  * Description
  * Requirements
  * Installation


Description
===========
The suggestion module provides autocomplete suggestions for search fields.

The suggestions are sourced 3 ways:
  1. Content suggestions are parsed from node titles of selected content types.

  2. Priority suggestions are added via the admin interface and take priority
     over all other suggestions.

  3. Surfer suggestions are added when a form is submitted. This organically
     grows and prioritizes the suggestions.

  * For a full description of the module, visit the project page:
    https://drupal.org/project/suggestion

  * To submit bug reports and feature suggestions, or to track changes:
    https://drupal.org/project/issues/suggestion


Requirements
============
  * Drupal 7.x
  * Node
  * Block


Installation
============
  1. Copy the 'suggestion' directory in to your Drupal modules directory.

  2. Enable the module.

  3. Flush the cache.

  4. Go to /admin/config/suggestion and configure the suggestion settings.

  5. After configuration has been saved, index suggestions.



DEVELOPERS
-------------

Developers can enable auto-complete on any form by implementing
hook_form_FOM_ID_alter(), (mung the following code snippet).

function hook_form_FORM_ID_alter(&$form, &$state, $form_id) {
  $form['FIELD_NAME']['#autocomplete_path'] = 'suggestion/autocomplete';
  $form['#submit'][] = 'suggestion_surfer_submit';
}


MAINTAINERS
===========
Current maintainers:
  * Bill Kelly (bkelly) - https://drupal.org/user/265918

File

README.txt
View source
  1. Module: Suggestion
  2. Author: bkelly bill@williamakelly.com
  3. CONTENTS OF THIS FILE
  4. ====================
  5. * Description
  6. * Requirements
  7. * Installation
  8. Description
  9. ===========
  10. The suggestion module provides autocomplete suggestions for search fields.
  11. The suggestions are sourced 3 ways:
  12. 1. Content suggestions are parsed from node titles of selected content types.
  13. 2. Priority suggestions are added via the admin interface and take priority
  14. over all other suggestions.
  15. 3. Surfer suggestions are added when a form is submitted. This organically
  16. grows and prioritizes the suggestions.
  17. * For a full description of the module, visit the project page:
  18. https://drupal.org/project/suggestion
  19. * To submit bug reports and feature suggestions, or to track changes:
  20. https://drupal.org/project/issues/suggestion
  21. Requirements
  22. ============
  23. * Drupal 7.x
  24. * Node
  25. * Block
  26. Installation
  27. ============
  28. 1. Copy the 'suggestion' directory in to your Drupal modules directory.
  29. 2. Enable the module.
  30. 3. Flush the cache.
  31. 4. Go to /admin/config/suggestion and configure the suggestion settings.
  32. 5. After configuration has been saved, index suggestions.
  33. DEVELOPERS
  34. -------------
  35. Developers can enable auto-complete on any form by implementing
  36. hook_form_FOM_ID_alter(), (mung the following code snippet).
  37. function hook_form_FORM_ID_alter(&$form, &$state, $form_id) {
  38. $form['FIELD_NAME']['#autocomplete_path'] = 'suggestion/autocomplete';
  39. $form['#submit'][] = 'suggestion_surfer_submit';
  40. }
  41. MAINTAINERS
  42. ===========
  43. Current maintainers:
  44. * Bill Kelly (bkelly) - https://drupal.org/user/265918