README.txt 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. -- SUMMARY --
  2. The Synonyms module enriches Entities with the notion of synonyms. Currently the
  3. module provides the following functionality:
  4. * support of synonyms through Field API. Any field, for which synonyms behavior
  5. implementation exists, can be enabled as source of synonyms.
  6. * support of synonyms through Entity properties. Entity properties stored in
  7. database (as opposed to being calculated on-the-fly) can be enabled as source
  8. of synonyms.
  9. * synonyms-friendly autocomplete and select widgets for taxonomy_term_reference,
  10. entityreference, and commerce_product_reference (through Synonyms Commerce
  11. submodule) fields.
  12. * integration with Drupal search functionality through Synonyms Search
  13. submodule. It enables searching content by synonyms of the terms that the
  14. content references. Synonyms Search submodule also integrates with Term Search
  15. contributed module in a fashion that allows your terms to be found by their
  16. synonyms.
  17. * integration with Search API. If you include entity synonyms into your Search
  18. API search index, your clients will be able to find content with search
  19. keywords that contain synonyms and not actual names of entities.
  20. * integration with Views. Synonyms module provides a few filters and contextual
  21. filters that allow filtering not only by entity name but also by one of its
  22. synonyms. Synonyms module also provides a Views field for all eligible
  23. entities that contains a list of synonyms associated with the entity in
  24. question.
  25. -- REQUIREMENTS --
  26. The Synonyms module requires the following modules:
  27. * Entity API module
  28. The Synonyms module integrates with (but does not require) the following
  29. modules:
  30. * Taxonomy
  31. * Search
  32. * Term Search
  33. * Entity Reference
  34. * Views
  35. * Commerce
  36. * Features
  37. * Term Merge
  38. -- SUPPORTED SYNONYMS PROVIDERS --
  39. Module ships with ability to provide synonyms from the following locations:
  40. * "Text" field type
  41. * "Taxonomy Term Reference" field type
  42. * "Entity Reference" field type
  43. * "Commerce Product Reference" field type
  44. * "Commerce price" field type
  45. * "Number" field type
  46. * "Float" field type
  47. * "Decimal" field type
  48. * Entity properties stored in database
  49. Worth mentioning here: this list is easily extended further by implementing new
  50. synonyms providers in your code. Refer to Synonyms advanced help for more
  51. details on how to accomplish it.
  52. -- GRANULATION WITHIN SYNONYMS BEHAVIOR --
  53. In order to achieve greater flexibility, this module introduced additional
  54. granularity into what "synonyms" mean. This granularity is expressed via
  55. "synonyms behavior" idea whatsoever. Then you can enable different synonyms
  56. behaviors for different synonyms providers. For example, field "Typos" can be
  57. part of autocomplete behavior, while field "Other spellings" can be part of
  58. search integration behavior. Currently the following synonym behaviors are
  59. recognized (other modules actually can extend this list):
  60. * Autocomplete - whether synonyms from this provider should participate in
  61. autocomplete suggestions. This module ships with autocomplete synonyms
  62. friendly widgets and their autocomplete suggestions will be filled in with the
  63. synonyms of providers that have this behavior enabled.
  64. * Select - whether synonyms from this provider should be included in the
  65. synonyms friendly select widgets.
  66. * Search integration (requires Synonyms Search enabled) - allows your content to
  67. be found by synonyms of the terms it references. Your nodes will be found by
  68. all synonyms that have this behavior enabled.
  69. Therefore, on the Synonyms configuration page you will see a table, where rows
  70. are synonym providers and columns are these "synonym behaviors" and you decide
  71. what synonym behaviors to activate on what synonym providers.
  72. -- INSTALLATION --
  73. * Install as usual
  74. -- CONFIGURATION --
  75. * You can configure synonyms of all eligible entity types by going to Admin ->
  76. Structure -> Synonyms (admin/structure/synonyms)
  77. -- FUTURE DEVELOPMENT --
  78. * No good directions for future development are known at the moment. If you
  79. would like to suggest one, report an issue (future request) against Synonyms
  80. issue queue on Drupal.org.