You are here

README.txt in Font Awesome Icons 8.2

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

 * Introduction
 * Installation
 * Usage
 * Credits


INTRODUCTION 8.2.x version
------------
This module allows for the integration of fontIconPicker with the Font Awesome
module. fontIconPicker is a jQuery library intended to allow for easy search
and selection of icons. This module provides a widget to utilize this libary
alongside the Font Awesome module in lieu of the default "Search and select"
widget provided with Font Awesome.

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

1. Using Drush (https://github.com/drush-ops/drush#readme)

    $ drush en fontawesome_iconpicker_widget

    Upon enabling, this will also attempt to download and install the library
    in `/libraries/fontawesome`. If, for whatever reason, this process
    fails, you can re-run the library install manually by first clearing Drush
    caches:

    $ drush cc drush

    and then using another drush command:-

    (Drush 8)
    $ drush fa-download-iconpicker
    (Drush 9)
    $ drush fa:download-iconpicker

2. Manually

    a. Install the "fontIconPicker" library following one of these 2 options:
       - run "drush fa-iconpicker-download" (recommended, it will download the
         correct package and extract it at the right place for you.)
       - manual install: Download & extract "fontIconPicker"
         (https://github.com/fontIconPicker/fontIconPicker/releases)
         and place in the "/libraries" directory at
         "/libraries/fonticonpicker--fonticonpicker".
         The JS file should be located at
         /libraries/fonticonpicker--fonticonpicker/dist/js/
         Direct link for downloading latest version (current is v3.1.1) is:
         https://github.com/fontIconPicker/fontIconPicker/releases/tag/v3.1.1
    b. Enable the module at Administer >> Site building >> Modules.

3. Composer

    a. Install the "fontIconPicker" using composer:
       - The easiest way to install the library with composer is if your project
         has "npm-asset" (see: https://asset-packagist.org/) repository
         configured, you can require "npm-asset/fonticonpicker--fonticonpicker".
         You can use oomphinc/composer-installers-extender to ensure the library
         is installed in libraries/.
    b. Enable the module with Drush or Administer >> Site building >> Modules.

USAGE
_____
Simply select "Font Awesome Iconpicker Widget" as your widget of choice for any
Font Awesome Icon field under "Manage form display".

TROUBLESHOOTING
---------------
If the Font Awesome Iconpicker module is installed but the fontIconPicker
selector is not showing, try the following:
1. Flush the Drupal cache
2. Check the status report for issues on the library being loaded.

CREDITS
-------
* Scott Sawyer https://drupal.org/u/scottsawyer
* Daniel Moberly https://drupal.org/u/danielmoberly

File

modules/fontawesome_iconpicker_widget/README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Installation
  5. * Usage
  6. * Credits
  7. INTRODUCTION 8.2.x version
  8. ------------
  9. This module allows for the integration of fontIconPicker with the Font Awesome
  10. module. fontIconPicker is a jQuery library intended to allow for easy search
  11. and selection of icons. This module provides a widget to utilize this libary
  12. alongside the Font Awesome module in lieu of the default "Search and select"
  13. widget provided with Font Awesome.
  14. INSTALLATION
  15. ------------
  16. 1. Using Drush (https://github.com/drush-ops/drush#readme)
  17. $ drush en fontawesome_iconpicker_widget
  18. Upon enabling, this will also attempt to download and install the library
  19. in `/libraries/fontawesome`. If, for whatever reason, this process
  20. fails, you can re-run the library install manually by first clearing Drush
  21. caches:
  22. $ drush cc drush
  23. and then using another drush command:-
  24. (Drush 8)
  25. $ drush fa-download-iconpicker
  26. (Drush 9)
  27. $ drush fa:download-iconpicker
  28. 2. Manually
  29. a. Install the "fontIconPicker" library following one of these 2 options:
  30. - run "drush fa-iconpicker-download" (recommended, it will download the
  31. correct package and extract it at the right place for you.)
  32. - manual install: Download & extract "fontIconPicker"
  33. (https://github.com/fontIconPicker/fontIconPicker/releases)
  34. and place in the "/libraries" directory at
  35. "/libraries/fonticonpicker--fonticonpicker".
  36. The JS file should be located at
  37. /libraries/fonticonpicker--fonticonpicker/dist/js/
  38. Direct link for downloading latest version (current is v3.1.1) is:
  39. https://github.com/fontIconPicker/fontIconPicker/releases/tag/v3.1.1
  40. b. Enable the module at Administer >> Site building >> Modules.
  41. 3. Composer
  42. a. Install the "fontIconPicker" using composer:
  43. - The easiest way to install the library with composer is if your project
  44. has "npm-asset" (see: https://asset-packagist.org/) repository
  45. configured, you can require "npm-asset/fonticonpicker--fonticonpicker".
  46. You can use oomphinc/composer-installers-extender to ensure the library
  47. is installed in libraries/.
  48. b. Enable the module with Drush or Administer >> Site building >> Modules.
  49. USAGE
  50. _____
  51. Simply select "Font Awesome Iconpicker Widget" as your widget of choice for any
  52. Font Awesome Icon field under "Manage form display".
  53. TROUBLESHOOTING
  54. ---------------
  55. If the Font Awesome Iconpicker module is installed but the fontIconPicker
  56. selector is not showing, try the following:
  57. 1. Flush the Drupal cache
  58. 2. Check the status report for issues on the library being loaded.
  59. CREDITS
  60. -------
  61. * Scott Sawyer https://drupal.org/u/scottsawyer
  62. * Daniel Moberly https://drupal.org/u/danielmoberly