README.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. -- SUMMARY --
  2. Chosen uses the Chosen jQuery plugin to make your <select>
  3. elements more user-friendly.
  4. -- INSTALLATION --
  5. 1. Download the Chosen jQuery plugin
  6. (http://harvesthq.github.io/chosen/ version 1.1.0 is recommended)
  7. and extract the file under sites/all/libraries.
  8. 2. Download and enable the module.
  9. 3. Configure at Administer > Configuration >
  10. User interface > Chosen (requires administer site configuration permission)
  11. -- INSTALLATION VIA DRUSH --
  12. A Drush command is provided for easy installation of the Chosen plugin.
  13. drush chosenplugin
  14. The command will download the plugin and unpack it in "sites/all/libraries".
  15. It is possible to add another path as an option to the command, but not
  16. recommended unless you know what you are doing.
  17. -- ACCESSIBILITY CONCERN --
  18. There are accessibility problems with the main library as identified here:
  19. https://github.com/harvesthq/chosen/issues/264
  20. -- TROUBLE SHOOTING --
  21. How to exlude a select field from becoming a chosen select.
  22. - go to the configuration page and add your field using the jquery "not"
  23. operator to the textarea with the comma seperated values.
  24. For date fields this could look like:
  25. select:not([name*='day'],[name*='year'],[name*='month'])