Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: aldspamacct on April 27, 2013, 02:19:02 PM

Title: How to Add Button Icon in Plugin?
Post by: aldspamacct on April 27, 2013, 02:19:02 PM
Greetings,

I'm trying to learn/understand how one adds an icon to a Plugin Button.  I've installed a few 3rd party plugins and some have an icon, others don't.  I've spent some time looking through the source but an not seeing where one would include an icon next to the button text.  Would someone be kind enough to point me in the write direction?

Thank you all!

td
Title: Re: How to Add Button Icon in Plugin?
Post by: SKaero on April 27, 2013, 05:15:33 PM
Well first of all where do you want to add the button?
Title: Re: How to Add Button Icon in Plugin?
Post by: aldspamacct on April 27, 2013, 06:34:32 PM
I would like to start with Preferences->Section, that is the right Panel.  But I would have the same question if adding one to the left Panel.  Other than this primer (http://trac.roundcube.net/wiki/Doc_Plugins (http://trac.roundcube.net/wiki/Doc_Plugins)) to writing a plugin, are there any other resources, tutorials on the subject?  This information simply covers the bare basics.

Thank you
Title: Re: How to Add Button Icon in Plugin?
Post by: SKaero on April 29, 2013, 04:52:38 PM
The icons for those spots are add/changed via css.