README.txt 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. -- SUMMARY --
  2. The Synonyms module extends the Drupal core Taxonomy features. Currently
  3. the module provides this additional functionality:
  4. * support of synonyms through Field API. Any field, for which synonyms behavior
  5. exists, can be enabled as source of synonyms.
  6. * synonyms-friendly autocomplete and select widgets for taxonomy_term_reference
  7. fields
  8. * integration with Drupal search functionality through Synonyms Search
  9. submodule. It enables searching content by synonyms of the terms that the
  10. content references. Synonyms Search submodule also integrates with Term
  11. Search contributed module in a fashion that allows your terms to be found by
  12. their synonyms.
  13. * integration with Search API. If you include synonyms of a term into your
  14. Search API search index, your clients will be able to find content with
  15. search keywords that contain synonyms and not actual names of terms.
  16. -- REQUIREMENTS --
  17. The Synonyms module requires the following modules:
  18. * Taxonomy module
  19. * CTools module
  20. -- SYNONYMS BEHAVIOR, SUPPORTED FIELD TYPES --
  21. Module ships with ability to use the following field types as synonyms:
  22. * Text
  23. * Taxonomy Term Reference
  24. * Entity Reference
  25. * Number
  26. * Float
  27. * Decimal
  28. If you want to implement your own synonyms behavior that would enable support
  29. for any other field type, refer to synonyms.api.php file for instructions on how
  30. to do it, or file an issue against Synonyms module. We will try to implement
  31. support for your field type too. If you have written your synonyms behavior
  32. implementation, please share by opening an issue, and it will be included into
  33. this module.
  34. -- GRANULATION WITHIN SYNONYMS BEHAVIOR --
  35. In order to achieve greater flexibility, this module introduced additional
  36. granularity into what "synonyms" mean. Then you can enable different synonyms
  37. behaviors for different fields. For example, field "Typos" can be part of
  38. autocomplete behavior, while field "Other spellings" can be part of search
  39. integration behavior. Currently the following synonym behaviors are recognized
  40. (other modules actually can extend this list):
  41. * General synonym - normally we suggest to enable this behavior for all fields
  42. that have enabled at least one another behavior. In technical words, this
  43. behavior is responsible for including content of the field into term synonyms
  44. and also enables ability to add entities as synonym into this field.
  45. * Autocomplete - whether content of this field should participate in
  46. autocomplete suggestions. This module ships an autocomplete synonyms friendly
  47. widget and its autocomplete suggestions will be filled in with the content of
  48. the fields that have enabled this behavior.
  49. * Select - whether content of this field should be included in the synonyms
  50. friendly select widget.
  51. * Search integration (requires Synonyms Search enabled) - allows your content to
  52. be found by synonyms of the terms it references. Your nodes will be found by
  53. all synonyms that have this behavior enabled.
  54. Therefore, on the vocabulary edit page you will see a table, where rows are
  55. fields that can become synonyms and columns are these "synonym behaviors" and
  56. you decide what synonym behaviors to activate on what fields.
  57. -- INSTALLATION --
  58. * Install as usual
  59. -- CONFIGURATION --
  60. * The module itself does not provide any configuration as of the moment.
  61. Although during editing of a Taxonomy vocabulary you will be specify for that
  62. particular vocabulary the additional functionality this module provides, you
  63. will find additional fieldset at the bottom of the vocabulary edit page.
  64. -- FUTURE DEVELOPMENT --
  65. * If you are interested into converting this module from synonyms for Taxonomy
  66. terms into synonyms for any entity type, please go to this issue
  67. http://drupal.org/node/1194802 and leave a comment. Once we see some demand for
  68. this great feature and the Synonyms module gets a little more mature, we will
  69. try to make it happen.