README.txt 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Term Merge
  2. ------------------------
  3. by:
  4. * Max Nylin <max@articstudios.se>
  5. * Oleksandr Trotsenko
  6. Description
  7. -----------
  8. When using taxonomy for free tagging purposes, it's easy to end up with several
  9. terms having the same meaning. This may be due to spelling errors, or different
  10. users simply making up synonymous terms as they go.
  11. You, as an administrator, may then want to correct such errors or unify
  12. synonymous terms, thereby pruning the taxonomy to a more manageable set. This
  13. module allows you to merge multiple terms into one, while updating all fields
  14. referring to those terms to refer to the replacement term instead.
  15. Currently, the module only acts on:
  16. * fields of the following types: taxonomy term reference, entity reference, and
  17. other fields that correctly define their foreign keys
  18. * Views Taxonomy Term filter handlers
  19. * Redirects
  20. The term merging may happen in 2 flavors. You can either manually indicate what
  21. terms should be merged or you can use duplicate suggestion tool for this
  22. purpose. This tool intends to scan your vocabulary and detect such terms that
  23. are likely to be duplicates. You will then only review the list of suggested
  24. duplicates and will schedule for merging only those that actually are
  25. duplicates. The heuristics through which duplicate tool determines potential
  26. synonymous terms are made to be extendible by other modules. Refer to Term Merge
  27. advanced help if you want to write a custom one, though the module itself ships
  28. with the following heuristics:
  29. * search by the same name
  30. * search by the same description
  31. * search by the same parent
  32. You can indicate which specific heuristics should be used for searching
  33. duplicates within the UI of duplicate suggestion tool.
  34. Integration
  35. -------------
  36. Currently module integrates with the following core and contributed modules:
  37. * Redirect module (http://drupal.org/project/redirect). During term merging you
  38. may set up SEO friendly redirects from the branch terms to point to the trunk
  39. term.
  40. * Synonyms module (http://drupal.org/project/synonyms). During term merging you
  41. will be able to choose a trunk term's field into which all the branch terms
  42. will be added as synonyms (until cardinality limit for that field is
  43. reached).
  44. * Hierarchical Select (http://drupal.org/project/hierarchical_select). If
  45. Hierarchical Select module is configured to be used for working with
  46. Taxonomy, its widget will be shown on the form, where you choose what terms
  47. to merge.
  48. * Views (http://drupal.org/project/views). If the branch terms are to be
  49. deleted after the merging process, you could end up having some Views filters
  50. to filter on no longer existing terms. Term Merge module, while merging
  51. terms, will update those filters to filter not on the branch term, but on the
  52. trunk term. This way you will not have senseless filters and will not have to
  53. update them manually.
  54. Requirements
  55. -------------
  56. The modules requires enabled the following modules:
  57. * Taxonomy module (ships with Drupal core)
  58. * Entity API (https://drupal.org/project/entity)
  59. * cTools (https://www.drupal.org/project/ctools)
  60. Installation
  61. ------------
  62. * Copy the module's directory to your modules directory and activate the
  63. module.