Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker
Font Awesome Icon Picker for SilverStripe 3.x based on http://mjolnic.com/fontawesome-iconpicker
<iframe title="SilverStripe Font Awesome Icon Picker Field" width="420" height="315" src="https://www.youtube.com/embed/DwJhmhc9PRw" frameborder="0" allowfullscreen></iframe><darrenleejoseph (at) gmail (dot) com>
Installation can be done either by composer or by manually downloading a release.
composer require "thisisbd/silverstripe-fontawesome-iconpickerfield:*"
<yoursite.com>/?flush
to clear the manifest cache.private static $db = array(
'FontAwesomeIcon' => 'Varchar'
);
In getCMSFields
do this or something similar:
public function getCMSFields()
{
$fields = parent::getCMSFields();
$fields->addFieldToTab(
'Root.Main',
FontAwesomeIconPickerField::create('FontAwesomeIcon', 'Font Awesome Icon')
);
return $fields;
}
Suggested is to always use the latest version of FontAwesome, as the module tries to get all the available icons from the FontAwesome YML file on Github.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css"/>
No known issues.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem