Font Icon Select
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Allows the upload of font libraries into a central repository, then exposes them as options in a custom field type. It allows control of available icons on either a font-wide basis or based on the specific field instance.
Installation
Install as you would normally install a contributed Drupal module. See:
https://drupal.org/documentation/install/modules-themes/modules-7
After installation go to Configuration >> Content authoring >> Icon Select Options >> Upload New Library to upload a new font library. Please note: All 4 file types (.eot, .svg, .ttf, and .woff) are required.
Once a font is uploaded, add an Icon Select field to any content type. Select the font you wish to use from a dropdown of all uploaded fonts.
Restricting icons within a font
There are two options for restricting icons.
-
Global Blacklist.
- Every font has a global blacklist option. Edit the blacklist from Configuration >> Content authoring >> Icon Select Options
- A full list of icons created by parsing the .svg font file will be shown. Click on all of the Icons that should not be available to the user.
-
Field Instance Blacklist/Whitelist.
- Each new Icon Select field instance has the option of a blacklist or whitelist. These options can be changed by editing the field
- A list of icons minus the ones selected on the global blacklist will be shown.
- Select Whitelist to allow all selected icons
- Select Blacklist to disallow all selected icons
