Dolphiq / craft3-iconpicker

Craft plugin that provides a new field type that offers end users an easy way to pick an icon from a .woff or .ttf font file. You can easily use ionicons or font awesome icons or any other compatible font file.
MIT License
16 stars 11 forks source link

Font Awesome 4/5 #6

Closed GuidoNeele closed 6 years ago

GuidoNeele commented 6 years ago

Do you have an example of how to use this plugin to show font awesome icons on a website? The iconClass is not returning the class names that are needed when using the tags.

Thanks

dolphiq-allard commented 6 years ago

Hi Guido,

Thanks for your reply. We'll look into this one and keep you posted!

Cheers

GuidoNeele commented 6 years ago

Figured out what I did wrong. Forgot to add {% do view.registerAssetBundle("plugins\\dolphiq\\iconpicker\\assets\\sharedAsset") %} Thought iconClass would return fa-users, guess I should've RTFM :-)

dolphiq-allard commented 6 years ago

No worries ;-)

Happens to all of us... Happy to see the plugin is working as intended. Thanks again.

Cheers