Would you consider supporting an icon field as part of this module? In the past week 2 of the sites I work on have come across this use case, they need to associate an icon with a particular piece of content.

My current workaround is to provide a plaintext field where the user enters the CSS class that corresponds to the icon they want, and then theme the field output to wrap that class in it's tag. It would be a far better user experience if the editors could see and select the icon they wanted, without needing to know what css class (or even name) was behind it.

It looks like icon API module has an icon field, but it still doesn't render the icons in the select-widget, which is something I need for both my sites.

If you would be interested in supporting such a feature, I'd be happy to file a patch for review.

Comments

jenlampton created an issue. See original summary.

marcvangend’s picture

I would love to have an icon field too (currently working with the D8 version of the module though).

Daniel.Moberly’s picture

Version: 7.x-2.x-dev » 8.x-2.x-dev
Assigned: Unassigned » Daniel.Moberly

I think this is something we can support, at least in the 8.x version for sure. I will get something working on this shortly for testing and we can backport to 7.x if there's demand for it.

Daniel.Moberly’s picture

Title: FontAwesome field? » Add Font Awesome Icon field

Daniel.Moberly’s picture

Status: Active » Needs review

This should now be available in the 2.x development version for testing!

Daniel.Moberly’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

truls1502’s picture

Assigned: Daniel.Moberly » Unassigned

Unassigned the user