SilverStripe-Addon for font-awesome integration.
This introduces a new SilverStripe field type FAIcon.
Just add a custom field typed FAIcon to your data objects or use one of the data extensions FAIconizedClass or FAIconizedObject.
To use a custom HTML tag. (default is i as recommended)
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.
But if you have a good reason, you are able to switch on template usage by this parameter. The template is named "FAIcon.ss".
Make all the objects of a class showing up with the same icon.
ClassName:
FAIcon: home
extensions:
- FAIconizedClass
In your templates just use $FAIcon.
Make the objects of a class showing up with a individual icon, editable within the CMS.
ClassName:
extensions:
- FAIconizedObject
In your templates just use $FAIcon.
This is just the very first version of this addon. There are some todos on the roadmap:
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