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
Comment #2
marcvangendI would love to have an icon field too (currently working with the D8 version of the module though).
Comment #3
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedI 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.
Comment #4
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedComment #6
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedThis should now be available in the 2.x development version for testing!
Comment #7
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedComment #9
truls1502Unassigned the user