You are here

README.txt in Taxonomy dupecheck 7

Same filename and directory in other branches
  1. 6 README.txt
CONTENTS OF THIS FILE
---------------------

* Introduction
* Installation
* Design Decisions

INTRODUCTION
------------

Current maintainer: Karen Ziv <me@karenziv.com>

Taxonomy dupecheck was written when Karen Ziv was entering taxonomy terms for a
personal project and discovered that Drupal allows duplicate terms within the
same vocabulary.

INSTALLATION
------------

There are no special requirements for this module; installation uses the
standard Drupal process. If you're reading this, you've likely already
correctly installed this module.

1. Download the module from drupal.org.
2. Untar the archive into your modules directory.
3. Go to Admin > Modules and enable the Taxonomy dupecheck module.
4. Configure settings at Admin > Modules > Taxonomy dupecheck > Configuration

DESIGN DECISIONS
----------------

This module works by hooking into the taxonomy term and vocabulary admin
forms. Ideally, this would have happened instead in
hook_taxonomy_term_presave and hook_taxonomy_vocabulary_presave, but
neither of these hooks allow you to stop the save process, only run
other tasks based on the term/vocabulary info. This means that if you call
taxonomy_term_save or taxonomy_vocabulary_save programmatically, this
validation won't happen.

Also, note that the default comparison is case-insensitive. That is,
'foo' and 'Foo' will be considered duplicates. Case sensitivity can be
configured in the admin configuration (see INSTALLATION).

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Installation
  5. * Design Decisions
  6. INTRODUCTION
  7. ------------
  8. Current maintainer: Karen Ziv
  9. Taxonomy dupecheck was written when Karen Ziv was entering taxonomy terms for a
  10. personal project and discovered that Drupal allows duplicate terms within the
  11. same vocabulary.
  12. INSTALLATION
  13. ------------
  14. There are no special requirements for this module; installation uses the
  15. standard Drupal process. If you're reading this, you've likely already
  16. correctly installed this module.
  17. 1. Download the module from drupal.org.
  18. 2. Untar the archive into your modules directory.
  19. 3. Go to Admin > Modules and enable the Taxonomy dupecheck module.
  20. 4. Configure settings at Admin > Modules > Taxonomy dupecheck > Configuration
  21. DESIGN DECISIONS
  22. ----------------
  23. This module works by hooking into the taxonomy term and vocabulary admin
  24. forms. Ideally, this would have happened instead in
  25. hook_taxonomy_term_presave and hook_taxonomy_vocabulary_presave, but
  26. neither of these hooks allow you to stop the save process, only run
  27. other tasks based on the term/vocabulary info. This means that if you call
  28. taxonomy_term_save or taxonomy_vocabulary_save programmatically, this
  29. validation won't happen.
  30. Also, note that the default comparison is case-insensitive. That is,
  31. 'foo' and 'Foo' will be considered duplicates. Case sensitivity can be
  32. configured in the admin configuration (see INSTALLATION).