You are here

README.txt in Super Term Reference Autocomplete Widget 8

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Basic usage
 * Maintainers

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

The Straw (Super Term Reference Autocomplete Widget) module provides a new
interface for associating taxonomy terms with content using a term reference
field. It looks just like a normal placeholder select widget, but it shows the
whole tag hierarchy both when displaying existing values, and it both shows and
searches the whole hierarchy and when finding matches for the autocomplete
dropdown. If term creation is enabled, it also allows a new term to be created
along with all of its parents that don't exist already.

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


REQUIREMENTS
------------

At this time Straw can only be used with term reference fields. As such, the
core taxonomy module must be enabled in order to make use of it.


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

Install this module via composer by running the following command:

* composer require drupal/straw


CONFIGURATION
------------
Configuring a field widget to use Straw requires two steps. First, in the
settings for the field, choose the "Straw selection" reference method. Then, for
the field widget settings on the Manage Form Display tab, choose "Autocomplete
(Straw style)".


BASIC USAGE
------------

Once Straw is configured for a field, that field will show all the parents of
the selected terms in addition to the term itself. Each level of the hierarchy
is separated from the others by two right-facing arrows (>>), and if term
creation is enabled for the field, these same separators can also be used
between levels of the hierarchy when typing in a new term, and all terms in the
hierarchy that don't already exist will get created. For instance, entering
"Travel >> Tourist Destinations" will create two terms, "Travel" and "Tourist
Destinations", with the latter as a child of the former.


MAINTAINERS
------------

Current maintainers:
 * Clint Randall (camprandall) - https://drupal.org/u/camprandall
 * Jay Kerschner (JKerschner) - https://drupal.org/u/jkerschner
 * Brian Seek (brian.seek) - https://drupal.org/u/brianseek
 * Mike Goulding (mikeegoulding) - https://drupal.org/user/mikeegoulding

This project has been sponsored by:
 * Ashday Interactive Systems
   Building your digital ecosystem can be daunting. Elaborate websites,
   complex cloud applications, mountains of data, endless virtual wires
   of integrations.

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Basic usage
  8. * Maintainers
  9. INTRODUCTION
  10. ------------
  11. The Straw (Super Term Reference Autocomplete Widget) module provides a new
  12. interface for associating taxonomy terms with content using a term reference
  13. field. It looks just like a normal placeholder select widget, but it shows the
  14. whole tag hierarchy both when displaying existing values, and it both shows and
  15. searches the whole hierarchy and when finding matches for the autocomplete
  16. dropdown. If term creation is enabled, it also allows a new term to be created
  17. along with all of its parents that don't exist already.
  18. * To submit bug reports and feature suggestions, or to track changes:
  19. - https://www.drupal.org/project/issues/straw
  20. REQUIREMENTS
  21. ------------
  22. At this time Straw can only be used with term reference fields. As such, the
  23. core taxonomy module must be enabled in order to make use of it.
  24. INSTALLATION
  25. ------------
  26. Install this module via composer by running the following command:
  27. * composer require drupal/straw
  28. CONFIGURATION
  29. ------------
  30. Configuring a field widget to use Straw requires two steps. First, in the
  31. settings for the field, choose the "Straw selection" reference method. Then, for
  32. the field widget settings on the Manage Form Display tab, choose "Autocomplete
  33. (Straw style)".
  34. BASIC USAGE
  35. ------------
  36. Once Straw is configured for a field, that field will show all the parents of
  37. the selected terms in addition to the term itself. Each level of the hierarchy
  38. is separated from the others by two right-facing arrows (>>), and if term
  39. creation is enabled for the field, these same separators can also be used
  40. between levels of the hierarchy when typing in a new term, and all terms in the
  41. hierarchy that don't already exist will get created. For instance, entering
  42. "Travel >> Tourist Destinations" will create two terms, "Travel" and "Tourist
  43. Destinations", with the latter as a child of the former.
  44. MAINTAINERS
  45. ------------
  46. Current maintainers:
  47. * Clint Randall (camprandall) - https://drupal.org/u/camprandall
  48. * Jay Kerschner (JKerschner) - https://drupal.org/u/jkerschner
  49. * Brian Seek (brian.seek) - https://drupal.org/u/brianseek
  50. * Mike Goulding (mikeegoulding) - https://drupal.org/user/mikeegoulding
  51. This project has been sponsored by:
  52. * Ashday Interactive Systems
  53. Building your digital ecosystem can be daunting. Elaborate websites,
  54. complex cloud applications, mountains of data, endless virtual wires
  55. of integrations.