Hello,
I found an annoying bug in icon api.
When you enable menu and blocks icon submodules and add some icons to menu and blocks on the same page, the menu icons will disappears.
The problem seems to be related to the css files included. I can see the /sites/default/files/icon/fontello/block_icon/css/fontello.css, but I don't see the /sites/default/files/icon/fontello/menu_icons/css/fontello.css
If I remove the blocks that contains icons (or disable the block icons submodule), my menu icons goes back and I can see the /sites/default/files/icon/fontello/menu_icons/css/fontello.css in the list of my css files.
So tu resume, the module seems to bug when it have to load several css corresponding to different packages.
Comments
Comment #1
zmove commentedIt seems to be related to fontello (the package I use).
When I look at fontello_process_attached($bundle_name) function and make a dsm($css) at the end of the fuction, I can see that the array containes just the CSS for my block icons.
It should contains 3 css corresponding to the 3 icons pack I defined.
Regards,
Alex
Comment #2
zmove commentedA quick and dirty fix is to group all the icons into one big package. It confirm that there are a missing loop in fontello_process_attached() that should loop throught the $bundle variable and all all the needed CSS for all bundles.
Comment #3
zmove commentedIs the module still maintained ? The issue seems serious and I'm surprised to not see any reply to it. Is there a most famous/maintained icon manager that I wouldn't know ?