Wouldn't it be nice if instead of uploading individual icon files, you could point to icons in an installed icon library? Yes it would! I sort-of maintain drupal.org/project/protocons. Which should probably be just a library, not a module etc. but what if such a library were discoverable (or menu_icons could be configured to know about it) and would let you browse these icons first to make a choice from. If none of the available ones match your icon wishes, you would still be able to upload a new one.
Comments
Comment #1
mgiffordThis sounds like a great idea to me. Could start to collect other sets of GPL icons in a central place for common use in Drupal!
Comment #2
acrollet commentedThis is a nice idea, I would welcome a patch.
Comment #3
yoroy commentedThen it's active, not postponed :)
Comment #4
acrollet commentedThere does not seem to have been sufficient interest to justify keeping this issue open. (Only 3 followers) I'm closing this issue, but it may be re-opened with a patch.
Comment #5
paskainos commentedI'd like to reopen this feature request, and provide some additional information. I'm surprised no one has requested support for popular icon libraries like Font Awesome or even custom icon sets you can create with tools like Keyamoon's IcoMoon App.
To clarify, most of these popular icon libraries are designed with Twitter Bootstrap in mind, including CSS styling holding to the
<i class="icon-"></i>convention prepended to the anchor text like this:<a href="#"><i class="icon-"></i> Menu link</a>Currently, there are a few 'hacks' like modifying the icon library CSS for use with Menu attributes which (like Menu Icons) allows the addition of CSS classes directly to the anchor tag for instance, but that's about as close as it gets. Seems like this would be a very popular feature once word got out.
Comment #6
markhalliwellReferencing #720514-4: Should this be a module? How? & #1948240: [icon] Request re-purpose/ownership change.
Comment #7
acrollet commented@Mark Carver: thanks for the references, could you post again once icon has a stable release?
Comment #8
markhalliwellReferencing: #1950840: Create API and release beta1
Comment #9
markhalliwellIcon API - 7.x-1.0-beta1 has been released.
Fontello - 7.x-1.0-beta4 has been released.
Comment #10
markhalliwellAlso referencing #1979704: Integrate with Menu_Icons module
Comment #11
markhalliwellShould this maybe be titled "Merge with Icon API"? I'd like to add the functionality to upload a custom image to the Icon API, at that point wouldn't these two modules essentially be the same (for D7 anyway)?
Comment #12
markhalliwellComment #13
decipheredAny further thoughts on this?
At the least, it makes perfect sense for Menu Icons to offload the icon management to the Icon API.
Comment #14
decipheredDouble postComment #15
mastoll commentedWe have interest and cross-posting, but no coding yet? Have I missed something?