O.k. so placing the icon where I did in the maven project was fine.
Actually, everything was fine... except the configuration. Doah!
Sorry for the wast of bandwidth.
Cheers,
Will
P.S.: I did update an old Mag2 wiki article on this subject in the
hope to reduce future wasts of bandwidth:
http://wiki.magnolia.info/display/WIKI/How+to+add+a+custom+button+in+AdminCentral
On 17.06.2008, at 20:00, Will Scheidegger wrote:
I'm currently working on an other module and would like to have a
custom icon displayed in my menu. I've placed the icon in the
following folder of my maven project:
/src/main/resources/mgnl-resources/icons/24/my_custom_icon.png
Then I had Magnolia freshly install the module, and was hoping that
I could afterwards have my custom icon displayed by providing this
path in the configuration of the menu item:
/.resources/icons/24/my_custom_icon.png
Unfortunately no icon is being displayed. Of course I could simply
have it put into the docroot folder and then access it from there...
but it would be nice to do it "right". Can someone shed some light
on this? -> From Magnolia 3.5.x. I once wrote a wiki page on this
subject for Magnolia 2.x but that's long outdated...
Cheers,
Will
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------