I'm using roundcube version 0.4.
I want to add new icon (image) between the two task icons "E-Mail" and "Address book". On click it should just link to external page.
I am new to roundcube and I can't find the right place in code to do this.
Thanks in advance
Just code a plugin to add the button, something like this should work:
class button extends rcube_plugin {
function init() {
$this->add_button(array(
'name' => 'the button',
'class' => 'button-class',
'label' => 'Google',
'href' => 'http://google.com',
'target' => '_blank',
), 'taskbar');
}
}
Thank you! This works great!
Can you please tell me how to add custom image icon to this button, because now the "E-Mail" icon is used for the new button?
Quote from: batman;30184Can you please tell me how to add custom image icon to this button, because now the "E-Mail" icon is used for the new button?
This is done using skins. You can check-out the help-plugin for an example
Thank you very much guys! Now everything looks and works great. Thanks again for your help