2017 © Pedro Peláez
 

silverstripe-module silverstripe-fa

SilverStripe-Addon for font-awesome integration.

image

muckeit/silverstripe-fa

SilverStripe-Addon for font-awesome integration.

  • Monday, October 20, 2014
  • by SebastianMucke
  • Repository
  • 1 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

silverstripe-fa

SilverStripe-Addon for font-awesome integration., (*1)

New field type

This introduces a new SilverStripe field type FAIcon., (*2)

Just add a custom field typed FAIcon to your data objects or use one of the data extensions FAIconizedClass or FAIconizedObject., (*3)

Configuration

Custom HTML tag (FAIcon.Tag)

To use a custom HTML tag. (default is i as recommended), (*4)

Optionally using SS template (FAIcon.UseTemplate)

Per default FAIcon renders itself without template. This is much faster, than using FAIcon.ss. If you're using FAIcons extensively, this can make a noticeably difference., (*5)

But if you have a good reason, you are able to switch on template usage by this parameter. The template is named "FAIcon.ss"., (*6)

Iconized Classes (DataExtension)

Make all the objects of a class showing up with the same icon., (*7)

ClassName:
  FAIcon: home
  extensions:
    - FAIconizedClass

In your templates just use $FAIcon., (*8)

Iconized Objects (DataExtension)

Make the objects of a class showing up with a individual icon, editable within the CMS., (*9)

ClassName:
  extensions:
    - FAIconizedObject

In your templates just use $FAIcon., (*10)

Todo

This is just the very first version of this addon. There are some todos on the roadmap:, (*11)

  • Special DataExtension for Iconizable Files (using fa's file-type-icons).
  • Optional spinning.
  • I18N icon designations.
  • Optionally require custom css/fonts or even CDN.
  • Tagging FAIcons.
  • Enhanced FAIconField with icon display, auto completion, tag search, etc.
  • Make CMS menu fa-iconizable.

The Versions

20/10 2014

dev-master

9999999-dev

SilverStripe-Addon for font-awesome integration.

  Sources   Download

BSD-3-Clause

The Requires

 

by Sebastian Mucke

silverstripe icons fontawesome fa fortawesome

06/09 2014

v1.0.3

1.0.3.0

SilverStripe-Addon for font-awesome integration.

  Sources   Download

BSD-3-Clause

The Requires

 

by Sebastian Mucke

silverstripe icons fontawesome fa fortawesome

06/09 2014

v1.0.2

1.0.2.0

SilverStripe-Addon for font-awesome integration.

  Sources   Download

BSD-3-Clause

The Requires

 

by Sebastian Mucke

silverstripe icons fontawesome fa fortawesome

06/09 2014

v1.0.1

1.0.1.0

SilverStripe-Addon for font-awesome integration.

  Sources   Download

BSD-3-Clause

The Requires

 

by Sebastian Mucke

silverstripe icons fontawesome fa fortawesome