2017 © Pedro Peláez
 

silverstripe-module silverstripe-fontawesome-iconpickerfield

Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker

image

thisisbd/silverstripe-fontawesome-iconpickerfield

Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker

  • Friday, November 25, 2016
  • by dljoseph
  • Repository
  • 6 Watchers
  • 13 Stars
  • 2,682 Installations
  • PHP
  • 3 Dependents
  • 2 Suggesters
  • 8 Forks
  • 1 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

SilverStripe Font Awesome Icon Picker Field

Font Awesome Icon Picker for SilverStripe 3.x based on http://mjolnic.com/fontawesome-iconpicker, (*1)

SilverStripe Font Awesome Icon Picker Field, (*2)

Maintainer Contacts

  • Darren-Lee Joseph <darrenleejoseph (at) gmail (dot) com>

Requirements

  • SilverStripe 3.1

Installation Instructions

Installation can be done either by composer or by manually downloading a release., (*3)

Via composer (best practice)

composer require "thisisbd/silverstripe-fontawesome-iconpickerfield:*", (*4)

Manually

  1. Download the module from the releases page.
  2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
  3. Make sure the folder after being extracted is named 'fontawesome-iconpickerfield'
  4. Place this directory in your sites root directory. This is the one with framework and cms in it.
  5. Visit <yoursite.com>/?flush to clear the manifest cache.

Usage Overview

private static $db = array(
    'FontAwesomeIcon' => 'Varchar'
);

In getCMSFields do this or something similar:, (*5)

public function getCMSFields()
{
    $fields = parent::getCMSFields();

    $fields->addFieldToTab(
        'Root.Main',
        FontAwesomeIconPickerField::create('FontAwesomeIcon', 'Font Awesome Icon')
    );

    return $fields;
}

Frontend implementation

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., (*6)

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css"/>, (*7)

Known Issues

No known issues., (*8)

The Versions

25/11 2016

dev-master

9999999-dev http://github.com/thisisbd/silverstripe-fontawesome-iconpickerfield

Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker

  Sources   Download

BSD-3-Clause

The Requires

 

by Darren-Lee Joseph

silverstripe font awesome icon picker

17/07 2015

v0.4

0.4.0.0 http://github.com/thisisbd/silverstripe-fontawesome-iconpickerfield

Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker

  Sources   Download

BSD-3-Clause

The Requires

 

by Darren-Lee Joseph

silverstripe font awesome icon picker

03/03 2015

v0.3

0.3.0.0 http://github.com/thisisbd/silverstripe-fontawesome-iconpickerfield

Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker

  Sources   Download

BSD-3-Clause

The Requires

 

by Darren-Lee Joseph

silverstripe font awesome icon picker