vectorbross/fontawesome_iconpicker

Vector BROSS fork of the Drupal fontawesome iconpicker module

Installs: 1 212

Dependents: 1

Suggesters: 0

Security: 0

Type:drupal-custom-module

1.0.1 2023-10-05 08:39 UTC

This package is auto-updated.

Last update: 2024-04-05 09:45:11 UTC


README

Integrates the Font Awesome Iconpicker with Drupal.

Composer-based Installation

This is being worked on currently in the following issue: Explore including fontawesome library with Composer.

Manual Installation

  1. Download the Font Awesome library, and place it in a libraries folder in your site's docroot.
  2. Download the Font Awesome Iconpicker library, and place it in a libraries folder in your site's docroot.
  3. After downloading and moving the files, you should see files in the following paths:
    - Font Awesome CSS: `docroot/libraries/fontawesome/css/font-awesome.min.css`
    - Iconpicker CSS: `docroot/libraries/fontawesome-iconpicker/dist/css/fontawesome-iconpicker.min.css`
    

Usage

Font Awesome Iconpicker can be used on Text (formatted) field or Text (plain) fields. After attaching either of the above fields to an entity, you would be able to use Fontawesome Icon Picker widget for those fields under Manage form display section. You would also have to visit Manage display and configure the field to use field formatter Fontawesome Icon Picker.