Roundcube Community Forum

 

add button to compose toolbar only?

Started by t52, December 14, 2009, 07:14:11 AM

Previous topic - Next topic

t52

how can i add a plugin button to the compose toolbar only?

i tried
    $this->add_button(array('command' => 'plugin.somecommand',
                            
'id' => 'someid',
                            
'imageact' => 'skins/default/test.png',
                            
'title' => 'Some Title'),
                      
'compose-toolbar');

but the button won't show up at all...


t52

sorry, i didn't find anything there - which is why i posted here. add_element() and add_button() seem to get the container id handed as second argument. but what's the container id for the compose toolbar? from skins/default/templates/compose.html i figured it would be "compose-toolbar", which does not work for me. any further hints would be greatly appreciated!

SKaero

It need to be done with JavaScript your trying to do it with PHP.

dimago

hello..

i want to have this option too..

in demo: Welcome to RoundCube Webmail

there are this button in toolbar..

anyone knows how to do this?

thanks

rosali

Regards,
Rosali

dimago

hum..

i want that the button Compose, our Create New Message, always appear in the first toolbar..

The toolbar that have the button Logout, Settings, Address Book, Mail..

How can I do this?

Thanks

dimago

hey..

here:

#cd /usr/share/roundcubemail/skins/default/includes
#vi taskbar.html










i want the button command..

its appear now, but the image is the same of the button "mail" and the Label is greater..

dimago

Rosali,

I really really want this feature... :)

Well, I put the username that login in webmail in the superior right corner...

when the user have a long name, the buttons at side, like Exit, Personal Settings, dont stay OK, the name of button go up to image....

And, I want that the option Compose New Email stay in this same bar...

Can you imagine that i Want to do???

Thanks

dimago

anyone???

The button Compose appear in the same bar that Settings, Logout, etc.. is a good idea

When I am in the other window, I can to compose new message without to have to go to Email and so click in compose..

I want a help to put this button in this bar too..